-
-
Save alpody/745fa780280d0dd9c36e to your computer and use it in GitHub Desktop.
Remove file what name not exist in dir-site.txt
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
diff dir-site-id.txt site-id.txt | sed -n '/>/s/>\s\(.*\)/\1/p' | xargs -I {} rm res/{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment