Re: How retain Windows long file names?
On Sun, Aug 29, 1999 at 10:48:54AM -0700, André Bell wrote:
> When I 'xcopy *.* a:\ /s" and then copy those files to my linux machine
> with 'cp' my long files names are lost. Any idea how to retain these long
> file names when using media instead of ftp to transfer files between systems?
Are you mounting the media as `-t msdos' or `-t vfat'? The long file
names should be retained in the latter case, but definately won't in the
former.
> Also, is there an equivalent command to copy the files to linux including
> full paths? The above mentioned diskette has around 500 cgi and html files
> in 50 subdirectories and I'd like to be able to copy them to linux within
> their respective paths without having to manually enter all 50
> subdirectories and manually copy the files over, one subdirectory at a time.
Do a `man cp', and look for the `-r' option.
Reply to: