Errors When I copied Win files from Lin back to Win!
I had a failing hard drive with Windoze on it, and my good hard drive had Suse 8.2 on it. So I just copied over everything from the (now very noisy) Windoze drive onto my Suse drive. So far so good! then I got a new hard drive, put Windoze back on that, loaded up the apps, and then copied the stuff from Suse back onto the new Doze drive. When I go to open those files, (many are Photoshop, or Adobe Illustrator), I get this error (in Windoze, of course)
Can't open this file. An unexpected end of file was encountered.
Now, I know Linux and Windoze write files differently (Windoze likes a line break plus new line char for 'returns', Linux doesn't). Is it possible I should have added some sort of swith to my copy command to preserve these files?
I'd appreciate any help! I still have the old (and now VERY noisy, clunky, and SLOW) Windoze HD, so if there is another way to try and grab the files, I'd be willing to try again.
Maybe they where corrupted? I've never had trouble moving files between windows and Linux, apart from having to reset permissions in Linux.
You could simply put the HD as a third disk ( removing a CD drive if needed ), and try to copy them directly. Or you could use a compression and copy say "tar -cjf windows.tar.bzip2 /mnt/win/" as an example.
Sounds more like that damned windows newline character again. There are scripts, free for the taking. Bash, perl, whatever, which will peruse files and remove/insert the necessary control characters to convert from windows to Linux format. I've seen them, but haven't had occasion to use them, so I don't remember where to find them. Google/Linux is your friend. Use it.
|All times are GMT -5. The time now is 01:30 AM.|