Last active
May 24, 2016 08:05
-
-
Save cpascual/7d943f7a45cac25c1675bbeae9360be7 to your computer and use it in GitHub Desktop.
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
#find trunks | |
find . -type d -iname trunk > /tmp/find-trunk.txt & | |
#filter paths | |
cat /tmp/find-trunk.txt | sed 's/\.\(.*\)\/trunk/\1/' > /tmp/paths.tst | |
# to make script | |
# sed 's/\.\(.*\)\/trunk/grep -v \1 \| \\/' > /tmp/filter.sh | |
# edit /tmp/filter.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment