[svlug] copying special files to VFAT

Marc MERLIN marc_news at valinux.com
Mon Nov 12 15:48:01 PST 2001


On Mon, Nov 12, 2001 at 11:24:36AM -0800, Rafael Skodlar wrote:
> On Sat, Nov 10, 2001 at 12:29:19PM -0800, J C Lawrence wrote:
> > First script the copy tool ala:
> > 
> >   mpycp: cp ${2} ${1}`echo ${2} | echo $dir | sed s./.\\\!.g`

Yeah, that's what I meant by perl script.
Then you need to write some more code to make it recursive, but it's not
that bad.

> [] mcopy stupid\:windows\:file\:names a:
> Long file name "stupid:windows:file:names" contains illegal character(s).
> a)utorename A)utorename-all r)ename R)ename-all
> s)kip S)kip-all q)uit (aArRsSq): a

Ahah, I had forgotten about mtools. Good call, this will do what I want
out of the box (including recursive copies)

Thanks
Marc

PS: Thanks to the others who suggested other things like tar
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key




More information about the svlug mailing list