Delete symlinks recursively from a given directory

stow

stow --delete --target={{path/to/target_directory}} {{file1 directory1 file2 directory2}}

click the source code to copy install stow on any operating system with command-not-found.com