Boffgroup
asked on
How to copy files and folders from an EXT3 mount to an NTFS mount and skip illegal names
Hi there
I've just migrated from a Linux server to a Windows 2003 server. I have used some software from Paragon (Mount Everything) to mount our old EXT3 disk on the new server. I am now trying to copy 100gig of data from the EXT3 drive onto a new drive on the server.
The problem is that there are a large number of files and folders that begin with a . (a period). This is used to mark them as hidden under Linux (they are there because of Netatalk). When I try to copy a whole load of folders it says
"Cannot copy xxx The file name, directory name or volume label syntax is incorrect"
I can do a search for all all these files/folders by searching for .* - trouble is I can't delete them.
So does anyone know of a way round this. Is there a way to make Windows just skip over illegal files during a copy instead of choking on them.
Many thanks in advance,
Julian
I've just migrated from a Linux server to a Windows 2003 server. I have used some software from Paragon (Mount Everything) to mount our old EXT3 disk on the new server. I am now trying to copy 100gig of data from the EXT3 drive onto a new drive on the server.
The problem is that there are a large number of files and folders that begin with a . (a period). This is used to mark them as hidden under Linux (they are there because of Netatalk). When I try to copy a whole load of folders it says
"Cannot copy xxx The file name, directory name or volume label syntax is incorrect"
I can do a search for all all these files/folders by searching for .* - trouble is I can't delete them.
So does anyone know of a way round this. Is there a way to make Windows just skip over illegal files during a copy instead of choking on them.
Many thanks in advance,
Julian
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've split the points as corneliup was correct but I actually used harleyjd's solution and it came in only 2 minutes later.
So thanks guys - both right on money and saved me a load of hassle.
So thanks guys - both right on money and saved me a load of hassle.
This will copy the source to the destination, copy all subfolders (/s) even if they are empty (/e), continue on error (/c), copy hidden files (/h) and will not prompt you to overwrite.
I use this all the time. A lot quicker than the GUI copying.