Any tools to delete long named files?
-
I am cleanup an old archive drive on our server and we have some really long named files which can't be deleted. Tried different options used eraser but no luck. Any solutions?
-
@Ambarishrh said:
I am cleanup an old archive drive on our server and we have some really long named files which can't be deleted. Tried different options used eraser but no luck. Any solutions?
I've had issues with being unable to delete files I have permissions to delete in Windows before. I will mount the location on Linux server with those same permissions and it works no problem.
-
Can't do that, its on a folder on Netapp, mounted to server, and I have full permission on that folder, its just that windows can't delete due to the long file name, just wondering then why/how does it allow the save such file!
-
Apparently a rename from MAC works! I can't imagine doing the move and rename each files when i have the long names, have to go through 2.5TB!
-
Oh that's a BIG deal. That means that this is not Windows nor NTFS but NetApp and WAFL. That changes things a bit.
-
I assume that you are mounted over SMB and not using the NetApp as a SAN?
-
Over SMB, yes. Its painful to move on windows and when things go wrong, manage using MAC to rename and then copy. Reason I am using windows is, I have teracopy which handles file copy much better than default file copy tool in windows.
-
@Ambarishrh said:
Over SMB, yes. Its painful to move on windows and when things go wrong, manage using MAC to rename and then copy. Reason I am using windows is, I have teracopy which handles file copy much better than default file copy tool in windows.
Amen to that.
-
@Ambarishrh said:
Over SMB, yes. Its painful to move on windows and when things go wrong, manage using MAC to rename and then copy. Reason I am using windows is, I have teracopy which handles file copy much better than default file copy tool in windows.
The TeraCopy Pro is actually a good value. You can use it for an individual user on as many workstations as you want. For $20 for life. Also, it allows you to remove files from the queue, which was the most important Pro feature to me.
-
...without cancelling the entire job that is.
-
Would be great if this is available for MAC, atleast I don't need to switch back and forth. Luckily files are copying now, praying not to have such issues on the transfer!
-
@Ambarishrh Robocopy is your friend.
cd \ mkdir emptyfolder robocopy c:\emptyfolder c:\long\file\name\path\you\want\to\delete /mir
now everything in the the delete folder will be gone.
-
Yes, totally forgot about Robocopy! But I got something in the meantime and works like a charm
-
Robocopy should pretty much always be the first place to look for this kind of stuff. So useful.
-
You might try some of these on the Mac http://alternativeto.net/software/robocopy/?platform=mac