public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Tyler Littlefield" <tyler@tysdomain.com>
To: <speakup@braille.uwo.ca>
Subject: bash script help, and killall resolved
Date: Sun, 12 Oct 2008 16:54:23 -0600	[thread overview]
Message-ID: <945DA866D14B4E05A7866F9F0121BBB4@tdsportable> (raw)

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

             reply	other threads:[~ UTC|newest]

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

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=945DA866D14B4E05A7866F9F0121BBB4@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).