|Doug Le Tough c9a6ee888e||4 years ago|
|.gitignore||4 years ago|
|LICENSE.TXT||4 years ago|
|README.md||4 years ago|
|slackmirror.sh||4 years ago|
slackmirror.sh is a simple bash script written by Doug Le Tough.
This script will : Automatically mirror the choosen version of a slackware hierarchy tree on to you computer using rsync.
Requirements : This script should run with any standard Slackware installation and you will need these softwares installed : rsync
Copy and paste to your favorite text editor the following source code
1 - Save it where it suits you (ie. /usr/local/bin/slackmirror.sh)
As root user, make it executable with this command line : chmod +x /usr/local/bin/slackmirror.sh
2 - Browse the source code and define the following variables to suit your needs :
You can also exclude some folders from the synchronization process by setting successive --exclude parameters (see example on the commented line #29).
3 - That's all folks
The slackmirror.sh script need some mandatory arguments to run properly :
The slackmirror.sh script allow you to synchronize with the 32 bits and the 64 bits Slackware tree :
This is done by giving the -32 parameter for 32 bits or the -64 parameter for 64 bits to the slackmirror.sh :
You can synchronize both 32 bits and 64 bits slackware tree under the same directory (LOCAL_REP) without any problem.
This script is released under the WTFPL 2.0 and you can send me an email for :
to : doug.letoughfree.fr (replace by a valid @)