
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
I made this simple script for easily send multiple files to a removable device or to any partition in the system.
11 years ago
- Translated in English, German, Spanish, French, Polish, Bulgarian
- The Abort-Button in the Send-To script now works
- The script check now, the return value of the cp command and will then finish their work or pop-up a infobox, that something went wrong
- The script check now if destination is writable and, if not, it will print an info box
- Added a progress bar
- The script now allow to copy entire folders
11 years ago
- Translated in English, German, Spanish, French, Polish, Bulgarian
- The Abort-Button in the Send-To script now works
- The script check now, the return value of the cp command and will then finish their work or pop-up a infobox, that something went wrong
- The script check now if destination is writable and, if not, it will print an info box
- Added a progress bar
- The script now allow to copy entire folders
darek
9 years ago
Report
hemanth
11 years ago
I had done this in ||
http://gnome-look.org/content/show.php/send-to-media?content=107342
Report
Adaron
11 years ago
www.webmate.it
stay tuned. Thanks
Report
supergugi
12 years ago
I can run the script, select an usb device, but when I click ok nothing happens. Any suggestion? Thank to everybody.
supergugi
Report
jthunter
12 years ago
destination='Cél kiválasztása'
title_destination='Fájlok küldése ide:'
copy='Másolás'
title_copy='Kérlek várj...'
success='Fájlok sikeresen másolva'
title_success='Sikerült'
errors='Hiba történt a másolás közben'
title_errors='Hiba'
no_writable='A cél nem létezik vagy nem írható'
title_no_writable='Hiba'
# End of language settings ----------------------------------------------#
Report
Adaron
12 years ago
I've added all translations posted here.
Report
c0d3in
12 years ago
##########################################################################
# Language Settings ---------------------------------------------------- #
destination='Επιλογή Προορισμού'
title_destination='Στείλε τα αρχεία σε:'
copy='Αντιγράφω'
title_copy='Παρακαλώ περιμένετε...'
success='Τα αρχεία αντιγράφηκαν επιτυχώς'
title_success='Επιτυχία'
errors='Κάτι πήγε στραβά'
title_errors='Λάθος'
no_writable='Ο προορισμό είναι μη υπαρκτός ή μη εγγράψιμος'
title_no_writable='Λάθος'
# End of language settings ----------------------------------------------#
##########################################################################
Report
Legace
12 years ago
# Language Settings ---------------------------------------------------- #
destination='Valitse kohde'
title_destination='Lähetä kohteeseen:'
copy='Kopiointi käynnissä'
title_copy='Odota hetki...'
success='Tiedostojen kopiointi onnistui'
title_success='Toiminto onnistui'
errors='Tiedostojon kopiointi epäonnistui'
title_errors='Toiminto epäonnistui'
no_writable='Kohde on olematon tai se on kirjoitussuonattu'
title_no_writable='Toiminto epäonnistui'
# End of language settings ----------------------------------------------#
##########################################################################
Report
Legace
12 years ago
##########################################################################
# Language Settings ---------------------------------------------------- #
destination='Valitse kohde'
title_destination='Lähetä kohteeseen:'
copy='Copying'
title_copy='Odota hetki...'
success='Kopiointi onnistui'
title_success='Kopiointi onnistui'
errors='Kopiointi epäonnistui'
title_errors='Kopiointi epäonnistui'
no_writable='Kohde on olematon tai se on kirjoitussuonattu'
title_no_writable='Kopiointi epäonnistui'
# End of language settings ----------------------------------------------#
##########################################################################
Report
linux29
12 years ago
##########################################################################
# Send To
##########################################################################
# #
# Created by Mattia Galati (Adaron) #
# first improvement and translation by Christopher Bratusek (Chrispy) #
# #
##########################################################################
# Language Settings ---------------------------------------------------- #
#Farsi tranlation by HojjatMaddahi-----------http:///linux26.parsiblog.ir#
destination='انتخاب مقصد'
title_destination='فرستادن پرونده(ها)به'
copy='درحال نسخه برداری'
title_copy='...لطفا صبر کنید'
success='نسخه برداری پرونده(ها)با موفقیت بود'
title_success='موفقیت'
errors='برخی اشتباه واردشده'
title_errors='اشکال'
no_writable='مقصد شما یا وجود ندارد و یا قابل نوشتن نیست'
title_no_writable='اشکال'
# End of language settings ----------------------------------------------#
##########################################################################
devices=`ls -m /media/`
vv=${devices//cdrom?, /}
vd=${vv//cdrom, /}
options=${vd//, / FALSE /media/}
destinazione=`zenity --list --title "$title_destination" --text "$destination" --radiolist --column " " --column "Device" FALSE /media/$options`
if [[ "$destinazione" = "" ]]; then
exit
fi
if [[ -w $destinazione ]]; then
cp -R $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS $destinazione | zenity --progress --pulsate --auto-close --title="$title_copy" --text="$copy"
if (( $? == 0 )); then
zenity --info --text="$success" --title "$title_success";
else zenity --info --text="$errors" --title "$title_errors";
fi
else zenity --info --text="$no_writable" --title "$title_no_writable";
fi
Report
arkka
12 years ago
##########################################################################
# Send To
##########################################################################
# #
# Created by Mattia Galati (Adaron) #
# first improvement and translation by Christopher Bratusek (Chrispy) #
# Indonesian translation by Arkka Dhiratara #
##########################################################################
# Language Settings ---------------------------------------------------- #
destination='Pilih tujuan:'
title_destination='Kirim file ke:'
copy='Copying'
title_copy='Tunggu sebentar...'
success='File berhasil di copy'
title_success='Berhasil'
errors='Terdapat kesalahan'
title_errors='Error'
no_writable='Lokasi tujuan tidak ada atau tidak dapat ditulis'
title_no_writable='Error'
# End of language settings ----------------------------------------------#
##########################################################################
Report
fadelvato
12 years ago
# ابعث إلى#
Report
fadelvato
12 years ago
destination='اختر الوجهة التي ستبعث إليها الملف'
title_destination='ابعث الملف إلى:'
copy='جار النقل'
title_copy='رجاءً انتظر...'
success='تم نقل الملفات بنجاح'
title_success='نجحت العملية'
errors='لقد وقع خطء ما'
title_errors='خطء'
no_writable='إما أن الوجهة غير موجودة أو لا يمكن الكتابة فيها'
title_no_writable='خطء'
# End of language settings ----------------------------------------------#
##########################################################################
i had fun translating the script :)
Report
Mr-idea
12 years ago
# #
##########################################################################
# Language Settings ---------------------------------------------------- #
destination='Yer seçin'
title_destination='Dosyaları şuraya gönder:'
copy='Kopyalanıyor'
title_copy='Lütfen bekleyin...'
success='Dosyalar başarıyla kopyalandı'
title_success='Başarılı'
errors='Bir hata oluştu'
title_errors='Hata'
no_writable='Seçilen yer yok ya da yazılabilir değil'
title_no_writable='Hata'
# End of language settings ----------------------------------------------#
Report
Adaron
12 years ago
Report
Legace
12 years ago
# Language Settings ---------------------------------------------------- #
destination='Valitse kohde'
title_destination='Lähetä kohteeseen:'
copy='Copying'
title_copy='Odota hetki...'
success='Tiedostojen kopiointi onnistui'
title_success='Toiminto onnistui'
errors='Tiedostojon kopiointi epäonnistui'
title_errors='Toiminto epäonnistui'
no_writable='Kohde on olematon tai se on kirjoitussuonattu'
title_no_writable='Toiminto epäonnistui'
# End of language settings ----------------------------------------------#
##########################################################################
Report
Legace
12 years ago
# Language Settings ---------------------------------------------------- #
destination='Valitse kohde'
title_destination='Lähetä kohteeseen:'
copy='Kopiointi käynnissä'
title_copy='Odota hetki...'
success='Tiedostojen kopiointi onnistui'
title_success='Toiminto onnistui'
errors='Tiedostojon kopiointi epäonnistui'
title_errors='Toiminto epäonnistui'
no_writable='Kohde on olematon tai se on kirjoitussuonattu'
title_no_writable='Toiminto epäonnistui'
# End of language settings ----------------------------------------------#
##########################################################################
Report
rpgmaker
12 years ago
Also, if I don't select a partition and cancel the operation it tells me that "the destination doesn't exist or can't be writable" (or something like that, I have the spanish version).
Report
Adaron
12 years ago
Do other users have same problem?
Other problem fixed. ^_^
Report
rpgmaker
12 years ago
Thanks for the script.
Report
abqate
12 years ago
I have error :
Server not found .
Report
Rokixz
12 years ago
Report
Rokixz
12 years ago
# Send-To
##########################################################################
# Nautilus "Send to" Script #
##########################################################################
# #
# Sukūrė Mattia Galati (Adaron) #
# Pirmasis patobulinimas ir angliškas vertimas: Christopher Bratusek (Chrispy)
# Išvertė: Rokas Klyvis (Rokixz) #
# #
##########################################################################
# Language Settings ---------------------------------------------------- #
destination='Pasirinkti vietą'
title_destination='Siųsti failus į:'
copy='Kopijuojama'
title_copy='Prašome palaukti...'
success='Failai sėkmingai nukopijuoti'
title_success='Baigta'
errors='Įvyko klaida'
title_errors='Klaida'
no_writable='Vieta neegzistuoja, arba nėra perrašoma'
title_no_writable='Klaida'
# End of language settings ----------------------------------------------#
##########################################################################
devices=`ls -m /media/`
vv=${devices//cdrom?, /}
vd=${vv//cdrom, /}
options=${vd//, / FALSE /media/}
destinazione=`zenity --list --title "$title_destination" --text "$destination" --radiolist --column " " --column "Device" FALSE /media/$options`
if [[ -w $destinazione ]]; then
cp $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS $destinazione | zenity --progress --pulsate --auto-close --title="$title_copy" --text="$copy"
if (( $? == 0 )); then
zenity --info --text="$success" --title "$title_success";
else zenity --info --text="$errors" --title "$title_errors";
fi
else zenity --info --text="$no_writable" --title "$title_no_writable";
fi
Report
Alex-974
13 years ago
# Language Settings ---------------------------------------------------- #
destination='Choisir la destination'
title_destination='Destination : '
copy='Copie en cours'
title_copy='Patientez svp...'
success='Les archives ont été copiées avec succès'
title_success='Terminé'
errors='Erreur pendant la copie'
title_errors='Erreur'
no_writable='La destination n existe pas ou est protégé en écriture'
title_no_writable='Erreur'
# End of language settings ----------------------------------------------#
Enjoy !
Report
bharris25
13 years ago
Report