Skip to content

This script save selected files compressed to a .tar.gz format in a folder that has a maximum number of files, exceed it the oldest file will be automatically deleted then the new one will be saved.

License

Notifications You must be signed in to change notification settings

Nevermind-s/Backup-shell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Backup Shell Script

This script save selected files compressed to a .tar.gz format in a folder that has a maximum number of files, exceed it the oldest file will be automatically deleted then the new one will be saved.

Notice

To run the script, use these commands :

  • Give execute permission to your script: chmod +x /path_to_the_script/Backup.sh

  • And run your script: /path_to_the_script/Backup.sh

Recommandation

Use it with cron or at to run it periodically at fixed times, dates, or intervals.

About

This script save selected files compressed to a .tar.gz format in a folder that has a maximum number of files, exceed it the oldest file will be automatically deleted then the new one will be saved.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages