Skip to content

Instantly share code, notes, and snippets.

@raytroop
Created October 9, 2020 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raytroop/88395d58b21a169537bd8b2b84542aa4 to your computer and use it in GitHub Desktop.
Save raytroop/88395d58b21a169537bd8b2b84542aa4 to your computer and use it in GitHub Desktop.
#!/bin/sh
tree -if | grep 'cdslck' > txt
var=`cat txt`
for i in $var; do
rm -i $i
done
rm -i txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment