Created
June 28, 2024 03:07
-
-
Save yeiichi/bc090e38810bf961b2371ee72b9b5df2 to your computer and use it in GitHub Desktop.
Move files using find command.
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
#!/usr/bin/env zsh | |
# Move files using find command. | |
find <dir_src> -type f -iregex <pattern> -exec mv {} <dir_dst> \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment