Created
January 20, 2021 19:03
-
-
Save lucasburlingham/acbd82b99792a2e144b86db2e83cd87b to your computer and use it in GitHub Desktop.
Sort files in csv format (image1.png,folder1)
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
cat file.txt | while IFS=, read -r file destination; do echo "mv $file $destination/" done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment