Unix Shell - Re: request: script for file backup

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > March 2005 > Re: request: script for file backup





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: request: script for file backup
William Park

2005-03-17, 5:55 pm

Mark P <not@my.real.email> wrote:
> Hi,
>
> I'm looking for a simple script that I can invoke on one or more files
> in a directory which will copy them to some set aside backup directory
> and, if the file already exists in that backup directory, rename the
> existing copy by appending some sort of version number to its file name.
> The copying part I can figure out, but the text processing for file
> renaming is outside my range of knowledge. Any help?


man cp (-b -S -V options)

--
William Park <opengeometry@yahoo.ca>, Toronto, Canada
Slackware Linux -- because it works.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com