Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: Setting a Backup Command
- To: tlug@example.com
- Subject: [tlug] Re: Setting a Backup Command
- From: Tobias Diedrich <td@example.com>
- Date: Fri, 15 Feb 2002 17:03:49 +0100
- Content-disposition: inline
- Content-type: text/plain; charset=us-ascii
- In-reply-to: <1013788600.3341.1.camel@example.com>
- Mail-followup-to: Tobias Diedrich <td@example.com>,tlug@example.com
- References: <20020214120124.GG5982@example.com> <3C6BBD36.8010003@example.com> <20020214135112.GA535@example.com> <3C6BE223.3080407@example.com> <20020215115001.F1468@example.com> <3C6C8043.6060402@example.com> <20020215124440.H1468@example.com> <3C6C8757.8050205@example.com> <871yfnuw7e.fsf@example.com> <1013788600.3341.1.camel@example.com>
- User-agent: Mutt/1.3.27i
Charles Muller wrote: > I would like to save this in a file that I can run as a command, like a > BAT file in DOS. I assume then, that I would save this script in a text > file. Then, what else should I do, in terms of naming, or other > preparation, to have this file available as a command? In *nix, if a text file starts with #!foo bar at the first line and is executable, the os will search for foo, execute it with the parameters bar and feed it this file as input. e.g. #!/bin/sh echo Hello world ! is what you are probably looking for :-) If you really do your backup daily, you probably also want to automate it with cron (man crontab). -- Tobias PGP: 0x9AC7E0BC
- References:
- Re: [tlug] Using TAR
- From: Christopher SEKIYA
- Re: [tlug] Using TAR
- From: Josh Glover
- Re: [tlug] Using TAR
- From: Christopher SEKIYA
- Re: [tlug] Using TAR
- From: roy lo
- Re: [tlug] Using TAR
- From: Matt Doughty
- Re: [tlug] Using TAR
- From: roy lo
- Re: [tlug] Using TAR
- From: Matt Doughty
- Re: [tlug] Using TAR
- From: roy lo
- Re: [tlug] Using TAR
- From: Stephen J. Turnbull
- [tlug] Setting a Backup Command
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: [tlug] Setting a Backup Command
- Next by Date: Re: [tlug] Re: Setting a Backup Command
- Previous by thread: [tlug] Setting a Backup Command
- Next by thread: Re: [tlug] Using TAR
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links