Sunday, July 12, 2015

Windows XP: Zero size files and folders but explorer still sees the files


I used a series of GNU find.exe commands to move media files to the current folder. Explorer show that the folders and files still exist in their original location but properties show zero size and files. I performed a chkdisk and that didnt help. Any ideas how to recover these files?


Here are the commands from my bat file.


find.exe . -mindepth 1 -name "*.mkv" -type d -exec mv {} {}.tmp ;
find.exe . -mindepth 2 -type f -exec mv {} . ;
find.exe . -mindepth 1 -type d -exec rmdir {} ;



Answer



I figured it out.


The path was too long so I renamed the folder.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...