I'm trying to copy ~8GB of files from a USB stick to a win7 system. The files on the USB stick appear to be coming from an OSX system (.DS_Store
files and corresponding ._filenames
for each file). For what it is worth, the USB stick is formatted FAT32.
The main directory contains seven subdirectories with a total of 250+ subdirs and there is a total of some 2500+ files. When I drag and drop copy I get a "Destination Path Too Long" error msg:
When I use the cp command, I get similar PathTooLongException
error messages (notably, more of them...?)
Using the robocopy command and the /e option, I am able to successfully copy all the files without error:
robocopy G:\SOURCE_FOLDER C:\Users\user\Desktop\DESTINATION_FOLDER /e
Is there a way to copy all the files with robocopy but to exclude the ._
"meta" files and .DS_Store
files? Or is it better to simply recursively delete them? After doing some more research, would it be a better idea to dot_clean the files before copying them to a windows system? Thanks!