1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#! /bin/bash
# This script must be ran from inside the folder containing it
# (with "./install.sh").
# It doesn't need root privileges, since it "installs" the scripts only for the
# user running it.
# WARNING: it will close all your currently opened folders.
mkdir ~/.gnome2/nautilus-scripts/Gallery
upload=~/.gnome2/nautilus-scripts/Gallery/Upload\ to\ Gallery
if [ -h "$upload" ]
then
unlink "$upload"
fi
ln -s `pwd`/gallery-uploader "$upload"
killall nautilus; nautilus &
# After you ran it, just rightclick on an image and take a look under "Scripts".
|