[ale] Archiving directories/files with "compressed" mirror version

Michael B. Trausch mike at trausch.us
Thu Aug 14 10:19:53 EDT 2008


On Thu, 2008-08-14 at 02:49 -0600, JK wrote:
> OK Mike, I just have to know: did you just know all this off the
> top of your head, or did you spend a couple hours goofing around
> with bash to figure it out?  For me, it would be the "couple
> hours goofing around" thing, which is why I rarely answer these
> questions in such detail :-)

It's something I have done several times before.  Users of GUIs *love*
spaces and other weird characters in their filenames, and so most of the
shell scripts that I have sitting in my $HOME/bin directory use the
"while read" method, combined with find, to act on directory trees.
(For example, I have a shell script that takes an entire directory tree
and normalizes the names to lowercase that does it the same way.)

	--- Mike

-- 
My sigfile ran away and is on hiatus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20080814/8e448a96/attachment.bin 


More information about the Ale mailing list