Return to Snippet

Revision: 63123
at April 10, 2013 03:49 by jmiller


Initial Code
find . -maxdepth 1 -type l -exec rm -f {} \;

Initial URL
http://www.linuxquestions.org/questions/linux-general-1/script-command-to-delete-all-symlinks-from-a-directory-302124/

Initial Description
Remove all symlinks in a directory, but leave the target files.

Initial Title
Remove all symlinks in a directory

Initial Tags

                                

Initial Language
Bash