Shell Scripting

0 views
Skip to first unread message

Mike

unread,
Jan 22, 2008, 5:53:45 PM1/22/08
to Richmond Linux Users Group
Anyone good or atleast decent at scripting. I'm trying to remember,
but can't for the life of me, how to have a script ask for user input.
Specifically, in a restore script have it ask what backup file to
restore in a directory full of backups

Thanks to anyone who can help. In the mean time I will search through
my books...

Mike

threethirty

unread,
Jan 27, 2008, 3:55:13 PM1/27/08
to Richmond Linux Users Group
Mike:

I'm terrible at scripting but there is a person on ubuntuforums who
has created something like what you want. You can check it out here
http://ubuntuforums.org/showthread.php?t=47999. And here is a thread
about doing that for drupal, I think a little tweaking at either of
these and they will be what you are looking for.

-three

threethirty

unread,
Jan 27, 2008, 3:57:14 PM1/27/08
to Richmond Linux Users Group
the drupal thread was here http://drupal.org/node/59369, I was a
little to quick on the submit button ;P

On Jan 27, 3:55 pm, threethirty <threethi...@insightbb.com> wrote:
> Mike:
>
> I'm terrible at scripting but there is a person on ubuntuforums who
> has created something like what you want. You can check it out herehttp://ubuntuforums.org/showthread.php?t=47999. And here is a thread

michael mcclure

unread,
Jan 28, 2008, 4:20:58 AM1/28/08
to richm...@googlegroups.com
Those are pretty good. I already have something written, I need it to
ask which file. Those ones and many other ones all have the file to
restore hard coded in the script. Plus they use tar which has a limit
of a few GB and I need to backup 100GB. I'm going to try the backup
command.
Reply all
Reply to author
Forward
0 new messages