Originally Posted By: mlord

That looks rather clever, except it doesn't work on anything other than very simple, space-separated words in quote-free file names.


huh?

Code:
$ ls -1
FILENAME 'wItH sinGLE quotes'
filename "with double quotes"
foo BAR-bAz quxxX

$ zmv -v '(* *)' '${(C)1}' 
mv -- FILENAME\ \'wItH\ sinGLE\ quotes\' Filename\ \'With\ Single\ Quotes\'
mv -- filename\ \"with\ double\ quotes\" Filename\ \"With\ Double\ Quotes\"
mv -- foo\ BAR-bAz\ quxxX Foo\ Bar-Baz\ Quxxx

$ ls -1
Filename "With Double Quotes"
Filename 'With Single Quotes'
Foo Bar-Baz Quxxx


confused
_________________________
- Tony C
my empeg stuff