Forum for sharing windows-specific 'bash' scripts.

Randall R Schulz rrschulz@cris.com
Tue Mar 25 19:02:00 GMT 2003


Jason,

I have a snapshot-generating script called "snap." It's attached. There 
is usage output via the "--help" argument and a little header 
commentary in the script itself.

% snap --help
# snap: Usage
#   -c          Run target directory's "clean" program, if any
#   -D <dir>    Place snapshot file in specified <dir>
#   -f          Force overwrite of existing snapshot file
#   -q          Operate quietly (only error messages)
#   -v          Operate verbosely (list files placed in snapshot)
#   -nv         Operate non-verbosely (only action summary output)
#   -j          Use Bzip2 compression
#   -z          Use Gzip compression
#   -w          Create Zip (a.k.a. WinZip) archive
#   -u          Use no compression
#   -m          Include minute in snapshot file name timestamp
#   -h          Include hour in snapshot file name timestamp
#   -d          Include day in snapshot file name timestamp
#   -t          Include no timestamp in snapshot file name'
#   --help      Print this usage summary


Randall Schulz


At 10:23 2003-03-25, Jason Dufair wrote:
>I'd love to see the scripts.  I have written some of my own, but have 
>run into the full name and path problem.  Please post.
>
>Igor Pechtchanski wrote:
>
>>On Tue, 25 Mar 2003, Lee D. Rothstein wrote:
>>
>>
>>
>>>Because of a number of problems in backup, I have written a
>>>couple of Cygwin-specific bash scripts that I use to backup my
>>>system. Is there a forum for sharing these kinds of things? (Of
>>>course, they use 'bzip' and 'tar'.) BTW, I am not convinced that
>>>these scripts will save the "free world" from the heartbreak of
>>>psoriasis. Rather, I think that my script and others like it will
>>>benefit from sharing of ideas and "peer review". However, they
>>>are undeserving of full-fledged open
>>>source/Freshmeat/SourceForge/... treatment.
>>>
>>>One of the interesting motives of these scripts, BTW, is
>>>preserving the full names and paths of the original files and
>>>directories on NTFS, when they are copied to other media such
>>>as CD-R/RW, Firewire and FAT ... devices.
>>>
>>>Thanks,
>>>Lee
>>>
>>
>>So...  What's the question? ;-)
>>
>>If you were simply planning to announce the scripts, then this probably is
>>the best forum (in which case you might also want to attach them).
>>
>>Alternatively, you could try providing (and maintaining) them as a Cygwin
>>package (which is not as hard as people think), and see if they get
>>accepted/voted for.
>>     Igor
>>
>
>--
>Jason Dufair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snap
Type: application/octet-stream
Size: 5874 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030325/7a9a7281/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list