Azitech

Azimout's Linux weblog

nautilus scripts

with one comment

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.

Written by azimout

15/02/2008 at 13:08

Posted in Tricks

One Response

Subscribe to comments with RSS.

  1. 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.

    azimout

    19/02/2008 at 09:17


Leave a reply to azimout Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.