[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How retain Windows long file names?



-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 29 Aug 1999, [iso-8859-1] 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?
> 

How long are the names???  The Linux filesystem supports names up to 256
characters.  Are you sure you're not first putting the files on a plain
DOS filesystem that lacks support for long names?

> 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.

cp -r copies entire directory trees.  It's in the man page.

HTH,
noah

  PGP public key available at
  http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
  or by 'finger -l frodo@ccs.neu.edu'



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN8l3nodCcpBjGWoFAQE1nQQAgjSSzfATW5UUPvX6CYpj91uDY/VzTieb
rDI4r5XqUt0AlYvzMjDsZz3OnmqGpCUtrT99tM5dx+dHPyfUlfM8USGIpzYa1fFE
+F7dHJttZ8n/uUzcmVh/IeK7JGlFRrWg4k/YDBhA6EbORK6RZ4wl3Pp6MnVqr3+r
R3O6gBMfolU=
=Xffk
-----END PGP SIGNATURE-----


Reply to: