Bash exclua todos os links simbólicos
# Basic syntax:
find /path/to/directory/* -type l -delete
# Where:
# - /path/to/directory/* can be any glob pattern that will match the files
# (including symlinks) that you want to delete
# - -type l specifies symlinks
# - -delete deletes the symlinks that are found
# Note, add -mindepth # and -maxdepth # to specify how many levels to search
# relative to the specified directory (e.g. -maxdepth 0 searches just the
# specified directory)
Charles-Alexandre Roy