பின்னர் home folderல் உள்ள /.gnome2/nautlius-scripts/ என்ற folderல் இடவும். பின்னர் டெர்மினலில்
#cd ~/.gnome2/nautlus-scripts/
#sudo chmod 777 sendto
என்று கட்டளையிட்டால் script தயாராகிவிடும். பின்னர் desktop ல் ஏதோ ஒரு கோப்பின் மீது கர்சரை வைத்து இடது கிளிக் செய்தால் sendto option வரும்.

மேலே உள்ள படத்தில் send asல் உள்ள ஒரு option தான். எந்தெந்த ட்ரைவ் mount ஆகி உள்ளதோ அந்த ட்ரைவ்களில் தான் கோப்பினை சேமிக்க முடியும்.
கீழே உள்ள compression optionல் கோப்பினை zip, tar.gz,tar,bz2 ஆகவோ சுருக்க முடியும்.


நிரல்
http://www.gnome-look.org/content/show.php/send-to-media?content=107342
என்ற சுட்டியில் உள்ளது. தரவிறக்கி பயன்படுத்தலாம்.
#! /bin/bash
#
# Copyright 2009 hemanth
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
sel=( /media/* );
drive=$( zenity --title="Send files" --list --checklist --column="#" --column="Drivers" $(for i in ${!sel[@]}; do echo "$i"; echo "${sel[$i]}"; done) )
if [ "$drive" = "" ]; then
exit;
fi
res=( $(echo "$drive|" | sed '/|/s// /gp;d') )
for i in ${!res[@]}; do
cp -r $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS "${res[$i]}" | zenity --progress --auto-close ;
done
if [ $? -eq 0 ]; then
zenity --info --text="Info : $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS is sent to $drive"
else
zenity --info --text="Error : $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS is not sent to $drive"
fi
1 comment:
is graphical interface available for chmod
Post a Comment