public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Tyler Littlefield" <tyler@tysdomain.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: bash script help, and killall resolved
Date: Sun, 12 Oct 2008 18:12:25 -0600	[thread overview]
Message-ID: <E2FF0CDDC2C94A228267293EA1306FC1@tdsportable> (raw)
In-Reply-To: <20081013000544.GA6987@localhost.localdomain>

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@tysdomain.com

----- Original Message ----- 
From: "Gregory Nowak" <greg@romuald.net.eu.org>
To: "Speakup is a screen review system for Linux." <speakup@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@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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 


      reply	other threads:[~ UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Tyler Littlefield
 ` Gregory Nowak
   ` Tyler Littlefield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E2FF0CDDC2C94A228267293EA1306FC1@tdsportable \
    --to=tyler@tysdomain.com \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).