Skip to content

A Bash script to copy a file to the /tmp/ directory. The script also appends the date, as well as a unique 4 digit number, to the name of the file.

Notifications You must be signed in to change notification settings

c0y0te-git/tmpBackupScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

tmpBackupScript

A Bash script to copy a file to the /tmp/ directory. The script also appends the date, as well as a unique 4 digit number, to the name of the file.

Ex:

./tmpBackup.sh

[*] Please enter the file/directory you wish to have backed up: example1.txt

[*] Backing up example1.txt to /tmp/example1.txt.2021-09-07.J7XZ

[+] Backup succeeded!

About

A Bash script to copy a file to the /tmp/ directory. The script also appends the date, as well as a unique 4 digit number, to the name of the file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages