![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject [<<]Thread
Number : 9145 Date : 2004-11-05 Author : Garry Deane Subject : Re: lower case copy Size(KB) : 0
--- In xxcopy@yahoogroups.com, "Garry Deane" wrote: > John's right that xxcopy doesn't include a case sensitive > selection switch. However you can use a utility like SED > http://www.student.northpark.edu/pemente/sed/index.htm > to find the uppercase filenames and create an exclusion > list of these files for xxcopy. Something like: > > pushd c:\source > dir . /a-d/b | sed -n /[A-Z]/p > \xxcopy.xcl > xxcopy . /L/ex:\xxcopy.xcl I forgot about those pesky filenames with spaces. You'll need to change the SED expression to enclose the filenames with quotes so that xxcopy will exclude them. This will do it. dir . /a-d/b | sed -n 's/.*[A-Z].*/"&"/p' > \xxcopy.xcl Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.