Last active
December 11, 2015 14:21
-
-
Save armoucar/5267e70d1e67109074f0 to your computer and use it in GitHub Desktop.
Beautiful command line to organize pictures.
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
exiftool '-FileName<DateTimeOriginal' -d "%Y-%m-%d %H.%M.%S%%-c.%%e" dir/*.jpg # jpg | |
exiftool '-FileName<CreateDate' -d "%Y-%m-%d %H.%M.%S%%-c.%%e" ./*.mp4 # mp4 | |
for f in *; do mv "$f" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done #rename files to lowercase | |
youtube-dl https://www.youtube.com/playlist?list=ListID --output './%(autonumber)s-%(title)s.%(ext)s' | |
# Download all images from a page | |
wget http://whatever.com/ -p -A .jpg,.jpeg,.png -H -nd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment