bash script help, and killall resolved

Tyler Littlefield tyler at tysdomain.com
Sun Oct 12 20:12:25 EDT 2008


I need to keep previous backups, but I'll check that out. thanks.

Thanks,
Tyler Littlefield
Visit tds for quality software and web design:
http://tysdomain.com
skype: st8amnd127
aim: st8amnd2005
msn: tyler at tysdomain.com

----- Original Message ----- 
From: "Gregory Nowak" <greg at romuald.net.eu.org>
To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
Sent: Sunday, October 12, 2008 6:05 PM
Subject: Re: bash script help, and killall resolved


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, Oct 12, 2008 at 04:54:23PM -0600, Tyler Littlefield wrote:
>> 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
>
> This is normal tar behavior. If that's not what you want, then instead
> of doing
> tar -zcvf ~/backups/`date '+%m-%d-%Y_%H'`.tar.gz ~/moo/db.db
> do
> cd ~/moo
> tar -zcvf ~/backups/`date '+%m-%d-%Y_%H'`.tar.gz db.db
>
>> I'm at a loss, as to how to make it preserve the date through backup 
>> though. This is my current script:
>
> Just a thought, but why not modify your script to create a directory
> using the output of date (like you're doing in your tar command now),
> put db.db in that directory, and tar up that new directory, instead of
> just db.db. You'd also want to write a script that will remove any
> directories with yesterday's date.
>
>> I'm able to ccrypt, but I am looking for solutions on sending it via ftp, 
>> ideas would be welcome there.
>
> I'd suggest installing ncftp, and looking at the man page for
> ncftpput(1), it looks like it should do what you want.
>
> Greg
>
>
> - -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
>
> - --
> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkjykNcACgkQ7s9z/XlyUyBNEACfSVdKvu0l8/iLThL0Gsa0Ia1J
> RnUAnjobHZAOLy12ebeoDlaMF492w1k1
> =1i/I
> -----END PGP SIGNATURE-----
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 




More information about the Speakup mailing list