Last active
October 28, 2018 09:10
-
-
Save Rich700000000000/bbb4e5dfc5092d6491f868ae332f81f2 to your computer and use it in GitHub Desktop.
Bashes
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
#Youtube 1 : General | |
youtube-dl -4 --restrict-filenames --output "[%(uploader)s] %(title)s (%(id)s).%(ext)s" | |
#Youtube 2 : Music Videos | |
youtube-dl -4 -f bestvideo+bestaudio --restrict-filenames --add-metadata --output "%(title)s [%(uploader)s][%(upload_date)s][%(duration)s][%(id)s].%(ext)s" | |
#Programming 1 : Last file by extention | |
ls -t *py | head -1 | tr -d '\n' | xsel -ib | |
#Programming 2 : Last file by name | |
find -name "*06-27*" -printf "%f\n" | tr -d '\n' | xsel -ib | |
#Programming 3 : Las file by time | |
fc -ln -1 | xargs | tr -d '\n' | xsel -ib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment