umph is parsing video links from Youtube playlists ( http://code.google.com/p/umph/ )
cclive is downloading videos from Youtube ( http://cclive.sourceforge.net/ )
Example:
yt-pl2mp3 7AB74822FE7D03E8
Convert VCD to .AVI
Creates a better looking gif than the original post via imagemagick processing high quality jpgs, rather than converting directly to gif from the video itself.
A simple command to extract audio from flv/mp4 video file. Just change extentions...
http://manpages.ubuntu.com/manpages/hardy/man1/icotool.1.html There is also wrestool command. Show Sample Output
Quickly create a new image with a certain size and background color.
To ignore aspect ratio, run: for file in *; do convert $file -resize 800x600! resized-$file; done and all images will be exactly 800x600. Use your shell of choice.. This was done in BASH. Show Sample Output
Creates a PDF from multiple images. One page per image. If you want a specific arbitrary order you can use {1,3,5,10,12} * you may use jpg, tif etc ** if you do use jpg images you might want to add "-compress Zip" as suggested below to prevent from having the images from being re-compressed.
Converts red-cyan 3D anaglyphs to side-by-side format viewable by crossing your eyes. Useful for people who don't have 3D glasses or prefer not to use one.
Creates a PDF file where each page will be a layer from de original TIFF file.
You can apply many other filters and transformations.
convert multi_layer.tif -page a4 -compress jpg multi_page.pdf
To set the page size
convert multi_layer.tif -crop 590x790+20+30 -compress jpg multi_page.pdf
To include only a portion of the image (discard first horizontal 20 pixels and first vertical 30 pixels, include the next 590 horizontal and 790 vertical pixels)
convert multi_layer.tif -delete 1,3,5-10 -compress jpg multi_page.pdf
Discard mentioned layers
Output should be two JPG files named like "output-1.jpg" and "output-2.jpg". The convert command is part of ImageMagick so you'll need that and dependent packages installed to use it.
convert all *.svg to png _in parallel_ this speeds up the conversion for many files, but might also not be feasible for a large number of files
Written on OSX after `brew install unrar coreutils`; presumably works on other unices with minimal modifications. Didn't test rars that actually have paths in them, just "flat" files. Won't include files in the rar starting with a dot.
Converts all monkey audio files below currently directory to FLAC. For only current directory, use `for f in *.ape; do avconv -i "$f" "${f%.ape}.flac"; done` To remove APE files afterward, use `rm */*.ape`
Use this function with bash version 4+ to convert arbitrary hexadecimal sequences to binary. If you don't have bash 4+ then modify the lowercase to uppercase demangling statement
s=${@^^}
to set s equal to the uppercase hex input or the bc command throws an input parser error.
Show Sample Output
Whereas ^V is CTRL-V. converts a dos file to unix by removing 0x13 characters Show Sample Output
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: