![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
For people that use mega.co.nz
Curious who uses it for storage?
If you do a good command line tool for easily using their api is handy called megatools http://megatools.megous.com/ here is a little bash script i wrote to get a list of your files and the urls Code:
#!/bin/bash # get a list of mega.co.nz download links for uploaded files # requires megatools - https://github.com/megous/megatools files=$(megals | grep "Root/") if which megals> /dev/null 2>&1; then for file in $files; do echo $file | cut -c7- megals -e $file | awk '{print $1}' done else echo "this requires megatools" exit 1 fi ![]() ![]()
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |