I have scripts for copying and moving to a different directory, I have scripts to open files in gedit as me or as root, a script for searching, a script to enqueue files in Audacious, a script to replace the spaces in a file name with “-” (I hate spaces in file names because they need special attention if I want to do anything with them in CLI), scripts to mount and unmount ISO images and scripts to upload files to my web space via FTP. There’s a “default package” of Nautilus scripts, but most of it is stuff that I’d never need or want to do, so I just have the scripts I’ve collected over time that do the things I use often. After a visit to Gnome-look this morning (looking for interesting wallpapers and themes), I have the mother of all multimedia scripts. 🙂
Description:
- Convert multimedia files from one format to another, or create audio tracks from multimedia files
- Convert audio files from one format to another. Both multimedia and audio can choose output bitrate
- Convert images from one format to another, and/or change image resolution (and jpg compression)
- Convert documents from one format to another, including converting text to a .jpg or a .wav
- Convert multi-image files, like pdf or animated gif, into a series of frames
- Convert “CD Image” files into standard .iso files
- Batch processing to apply conversion choices to all selected files in a single operation
- Originals are not overwritten. Generated files are named based on the source and conversion choices
I chose the option to copy it to ~/.gnome2/nautilus-scripts, but it can be used with Nautilus Actions as well. The only requirements are zenity, ffmpeg and imagemagick, all of which I had already (probably had most of the optionals, too), and it needed my password to adjust the “windows-behind” default behaviour of zenity in my distro, but it works quite well, and although I could already do the stuff this script does, it’s much easier to right click, go to scripts, choose “avconvert” and set my desired options than to type in a terminal or start an application; this cool little script does it for me. If I lose it (put a copy of the tar in Software in my /home) or forget anything about what it does, I found it here, and if that page goes away and I can’t download it, I chucked the tar up here.