Small Script to Remove a List of Directories

1
2
cat list-of-directories.txt|while read f; do
if [ -e "$f" ]; then rm -rf "$f"; fi; done```

thanks unSpawn!

Comments