nautilus scripts

A useful collection of Nautilus scripts exists here.

A script that I created to move files to a specific directory:

#!/bin/bash
# move selected files to ~/togo
for arg in $(echo $NAUTILUS_SCRIPT_SELECTED_URIS|sed 's/file:\/\///');
do
mv -t <target_dir> "$arg"
done

Powered by ScribeFire.

One Comment

  1. azimout
    Posted February 19, 2008 at 9:17 am | Permalink

    I have just realized that the above script doesn’t work with filenames containing non-western (greek, in my case) characters. I’ll look into it and post the solution here.


Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*