Created
July 5, 2018 01:19
-
-
Save masuidrive/f6391a1e6ba872c750d7909e8afa380b to your computer and use it in GitHub Desktop.
bakファイルだけを.Trashへ移動する
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 . -name '*.bak' -type f -print0 | xargs -0 -n1 bash -c 'echo "mv \"$0\" ~/\".Trash/`basename \"$0\"`"\"' | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment