Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appwebd/perl-dir-tar-all
Perl script that allows you to back up (in tar.gz format with date/time like filename) directories in a recursive way. This perl script was coded originally in 1996.
https://github.com/appwebd/perl-dir-tar-all
backup-script directory-tree filename perl perl-script recursive tar-archive
Last synced: 3 months ago
JSON representation
Perl script that allows you to back up (in tar.gz format with date/time like filename) directories in a recursive way. This perl script was coded originally in 1996.
- Host: GitHub
- URL: https://github.com/appwebd/perl-dir-tar-all
- Owner: appwebd
- License: mit
- Archived: true
- Created: 2017-05-05T18:59:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T19:30:56.000Z (over 7 years ago)
- Last Synced: 2024-09-25T19:51:15.073Z (3 months ago)
- Topics: backup-script, directory-tree, filename, perl, perl-script, recursive, tar-archive
- Language: Perl
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Perl dir Tar All (backups-all-directories in a recursive way)
Perl script that allows you to back up (in tar.gz format with date/time like filename) directories in a recursive way. This perl script was coded originally in 1996.
## Installation
```
git clone https://github.com/appwebd/perl-dir-tar-all.git
```## Customize
You must customize the following according to your configuration:
```
a) Put this Perl script dir_tarall.pl in your home/bin directory or /use/local/bin for example.
b) What information, do you want backups. Open the filename example-of-use.sh and modify at your all satisfaction.
```## Schedule Tasks on Linux (using Crontab)
Do the following command in your terminal console.
```
sudo crontab -e```
add the following (like example):
```
0 0 * * * /home//bin/dir_tarall.pl 2>&1 | mail -s "Cronjob ouput" [email protected]
```## License
dir_tarall.pl is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sub license, and/or sell copies of the Software. But you always need to state that Patricio Rojas Ortiz is the original author of this Perl script.