Horje
bash delete all symlinks Code Example
bash delete all symlinks
# 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)
Source: linuxize.com




Shell

Related
stop all running instances of tmux Code Example stop all running instances of tmux Code Example
ubuntu auditd show process activity by rules Code Example ubuntu auditd show process activity by rules Code Example
pgdmp file Code Example pgdmp file Code Example
bash check parameter is set Code Example bash check parameter is set Code Example
bash errors: syntax error - ambiguous - file Code Example bash errors: syntax error - ambiguous - file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12