This script will compress your selected files as rar (99mb per file, it will split the files, if they are bigger than 99mb.), upload them then delete the rar files after upload.
Incase you do not have rar package installed, this is a good time to install it:
$sudo apt-get install rarYou also need zenity package which is pre-installed with ubuntu:
$sudo apt-get install zenityNavigate to your ~/.gnome2/nautilus-scripts folder and copy rsapi.pl (You can download this file from rapidshare, or see below) as .rsapi.pl:
$cd ~/.gnome2/nautilus-scripts$wget -c https://dl.getdropbox.com/u/612498/rsapi.pl && mv rsapi.pl .rsapi.pl && chmod +x .rsapi.plNow download RapidUpload script and save it to ~/.gnome2/nautilus-scripts:
$cd ~/.gnome2/nautilus-scripts$wget -c https://dl.getdropbox.com/u/612498/RapidUpload && chmod +x RapidUploadNow edit ~/.gnome2/nautilus-scripts/RapidUpload script and change username and password parts:
$gedit ~/.gnome2/nautilus-scripts/RapidUploadYou are going to change this part with your username password:
rapidshareusername=username
rapidsharepassword=passwordSave it when you are done.
If you do not have a Rapidshare premium account, open RapidUpload and change
accounttype=prempart with accounttype=col (collector's account), or accounttype=free (free user = anonymous)
PS : It is under rapidsharepassword=password part
You can now Right Click any file(s), and select Scripts > RapidUpload to upload your files.
Tested on Ubuntu Karmic Alpha 4, Ubuntu Jaunty, Crunchbang Linux.
Have fun!


0 comments:
Post a Comment