Status
Not open for further replies.

Snell

Active Member
625
2009
18
240
download the file upload-megaupload.sh at
http://megaupload-dl.googlecode.com/svn/trunk/extras/upload-megaupload.sh

Need to be root (use sudo where applicable)

move it to /bin (for global usuage) by

Code:
mv upload-megaupload.sh /bin/upload-megaupload.sh
chmod +x

Code:
chmod +x upload-megaupload.sh
Usuage:
Anonymous upload:
Code:
upload-megaupload.sh my_file.mp3 "My description"
Registered account upload:
Code:
upload-megaupload.sh my_file.mp3 "My description" myuser:mypassword
source: http://code.google.com/p/megaupload-dl/wiki/Uploader

Hope this will be useful for some of you :)
 
9 comments
^ i have a bash script for uploading to

- rapidshare
- megaupload
- hotfile
- fileserve

you can add any file host that allow upload via ftp or have their own API (like rapidshare)
 
Sorry for the bump but this is what I get:

mv: cannot move `/home/username/Desktop/upload-megaupload.sh' to `/bin/upload-megaupload.sh': Permission denied

I know I can use "sudo mv /home/username/Desktop/upload-megaupload.sh /bin/upload-megaupload.sh" but then how I would I use the command to upload my files? Would it be the same as: "upload-megaupload my_file.mp3 "My description" myuser:mypassword" or would I need to add sudo to the beginning of that command line?
 
you can move it using sudo.
once its moved you can have the permission to execute.
if not use the
chmod ugo+x upload-megaupload.sh
giving permissions to execute
and use the command "upload-megaupload my_file.mp3 "My description" myuser:mypassword"
hope this helps
 
Great tutorial Snell. I have a question (sorry if it's off topic): Is there any hardcore uploader that does all of his leeching and uploading via cmd? It should be pretty fast to download, process, upload stuff if you haz 1337 ninja like keyboard skillz.
 
Status
Not open for further replies.
Back
Top