Mint Serena 64 bit using the Mate desktop environment. Most of the following scripts will run on this machine, although some have only been tested with the Gnome desktop. Extra software requirements can be met by the Ubuntu and safe PPA repositories. Scripts may be re-written or added to from time to time, the date serves as the version number. Syntax highlighting on these pages is provided by GVim's "Convert to HTML" option.

Rip YouTube.

~/.scripts/Media_processing/Media_scripts/rip-youtube.html #!/bin/bash
# Filename: rip-youtube
# Version: 100112
# Author: robz
# This is intended to be used with the Mozilla Firefox browser and run as a
# right-click nautilus script. It recovers "deleted" YouTube video/music files
# from the /proc/ directory.
# Wait until the file download has completed then run the script, copies of the
# media will be placed in the $DEST directory.
# You will need to run the script before closing the tabs or the browser.

find /proc/*/fd/ -lname "/tmp/Flash*" 2>/dev/null
| xargs -i{} cp {} "$DEST"

# Bare bones but effective.

# Err was effective, looking for a cure!

No comments: