bash script help, and killall resolved
Tyler Littlefield
tyler at tysdomain.com
Sun Oct 12 18:54:23 EDT 2008
Hello list,
thanks for the info on killall, pkill did the trick. Apparently it was renamed.
I'm trying to set up a script that will tar a file, encrypt it with ccrypt -K pass -e file.tar.gz, and send it via ftp to a server so it can be stored.
I've got the tarring done, though for some reason it's preserving the whole directory structure and puts the file under home/vertigo/moo/db.db rather than just untarring db.db
I'm at a loss, as to how to make it preserve the date through backup though. This is my current script:
tar -zcvf ~/backups/`date '+%m-%d-%Y_%H'`.tar.gz ~/moo/db.db
Because it's storing the time, I need a way to keep the filename in tact when I ccrypt it, and then ftp it.
I'm able to ccrypt, but I am looking for solutions on sending it via ftp, ideas would be welcome there.
I just almost lost a whole db, which is the code for my mud that I"ve been working on the past two months, and it would've cost me a ton of time wasted, so I'm taking extra precautions.
Thanks,
Tyler Littlefield
Visit tds for quality software and web design:
http://tysdomain.com
skype: st8amnd127
aim: st8amnd2005
msn: tyler at tysdomain.com
More information about the Speakup
mailing list