Created
February 27, 2022 12:26
-
-
Save AlexRogalskiy/37159ac7d34304e4e124a5afb2f4c68f to your computer and use it in GitHub Desktop.
If you ever happen to extract tz tarballs without a directory (LOL), this will help you clean up the directory.
This file contains hidden or 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 . -type f `find tz?(32|64){code,data}*\.tar\.{gz,Z} | xargs -I% echo "-name % -prune -o"` -type f -name '*' -exec \rm -i {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment