Created
February 9, 2018 11:46
-
-
Save NorbertFenk/eaa77ed902f50ffbbc9f25620cb869a6 to your computer and use it in GitHub Desktop.
If you accidentally hit cmake before "cd build" and you really do not know how to "mass" checkout folders and files this will help a lot.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# source: https://stackoverflow.com/questions/10929453/read-a-file-line-by-line-assigning-the-value-to-a-variable | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
rm -rf $line | |
done < "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment