Displaying 3 results from an estimated 3 matches for "alangtk".
2010 Jan 26
10
Detect file change
Hello everyone!
How can I detect if a folder have changed (sync logic) than run a script
if it's true?
I found this script over the net, but I think it's such complicated for
that simple thing...
#!/bin/bash
############### detectdir.sh by Jagbir Singh #################
#
# script to detect changes in directory.
#
2010 Jan 25
5
Bash script for backup
Hello guyz!
I'm new here, and this is my very first truble...
I need a script that will backup & compress the folder /media/system in
the folder /media/backups
But that's not the problem, I need that only the last 7 backups (last 7
days, yeah I know, cronjob...) will stay in that folder...
The script need:
1 - Compress folder /media/system
2 - Store in /media/backups
3 - Name the
2010 Jan 26
5
Auto exit lftp on bash script
Hello again!
I have this piece od code:
#####################
#lftp will make the backup
lftp -u user,password -e "mirror --reverse --delete --only-newer
--verbose /var/bkp /test_bkp" somehost.com >> $LOGFILE
# end log file
date >> $LOGFILE
echo "Backup Completo!" >> $LOGFILE
#####################
Everything is fine, but the bash scrip dosn't complete