Delete 0 byte files
Posted: 20 Nov 2013 12:06
Hi all,
I had a hard drive problem and some of my files were damaged.
I have a backup but from the damaged drive I can still get some information.
So i need to build a script to analize my drive and copy all the content to my backup disk.
The problem is using
xcopy source destination /s /d
I get all the files on the orignal hard drive overwriting the backup files, even the damaged ones with 0 byte size...
So I need first to find and delete those 0 byte files and then copy all the others.
Can you help me?
I had a hard drive problem and some of my files were damaged.
I have a backup but from the damaged drive I can still get some information.
So i need to build a script to analize my drive and copy all the content to my backup disk.
The problem is using
xcopy source destination /s /d
I get all the files on the orignal hard drive overwriting the backup files, even the damaged ones with 0 byte size...
So I need first to find and delete those 0 byte files and then copy all the others.
Can you help me?