Cannot delete Mac OS Icon files via ftp

written by Admin

Posted on 2013-09-11


When I upload my website via ftp in each directory also the Mac OS Icon files are transferred, but I cannot delete them via ftp!


The Icon files cannot be removed easily beacouse of a carriage return at the end of the file name.

If you have an ssh access you can remove all Icon files running:
# find -name 'Icon?' -size 0 -exec rm '{}' \;



Leave a Comment:



We need collaboration and a real boost from our community: write us an email for every trick you find!

This website is a sysadmin swiss-knife for every-day Windows, Linux and Mac administration and troubleshooting

Our database grows if YOU send us your tips and trick as soon as you find them every day!