lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAFf+5zgdRr=1a=AOJ9vc836X7Y8tvhxGqp3GLs7Amcd0ibfUPA@mail.gmail.com>
Date: Thu, 28 Aug 2025 10:20:06 +0530
From: Amit <amitchoudhary0523@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Bash script for taking backups of your files.

Bash script for taking backups of your files.

-------------------
mybackup.sh
-------------------
--------------------------------------------------------------------
#!/bin/bash

backup_dir=~/backups

date=`date "+%Y-%m-%d-%H-%M-%S"`

set -x

cp $1 $backup_dir/$1.$date
--------------------------------------------------------------------

Example: ~/mybackup.sh myfile.c

----

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ