Bundle of shell scripts to manage your OBOOM-account via the OBOOM-api. See https://www.oboom.com/api/. You can start then via sh script.sh
or ./script.sh
(maybe you have to make them executable with chmod +x script.sh
).
I also made a python version of this repo, see https://github.com/henrydatei/oboom-tools-python
For the documentation please visit the wiki!
These scripts use the following packages, so please ensure that you've installed them
- jq
- bc
- curl
Creates a new directory in root.
Looks if you have a security pin set. If not, oboom will send you one via e-mail. You need a security pin for removing files from the recycle bin.
Deletes all files and folders from the recycle bin. You'll need your security pin.
Scans for failed remote-uploads, removes them from the queue and adds them to the queue again.
Running through your files and folders and getting information about them. Output are two files: folders.txt
and files.txt
that are containing the following information delimited by "|" for each file/folder in one line:
- information about folders:
- name
- root
- state
- user
- ddl
- id
- ctime
- parent
- downloads
- mtime
- atime
- information about files:
- name
- root
- state
- user
- ddl
- id
- ctime
- parent
- downloads
- mtime
- atime
- size
- thumb_320
- mime
- owner
After running list-all-files.sh
this script searches for an entered keyword in files.txt
or folders.txt
. After that it will create download links (for all found results) which you can put into JDownloader or anything else.
Prints out all the links which were in the remote upload queue.
Aborts all failed remote uploads.
Displays information about the amount of files and the used space in your OBOOM-account. -1
means that you have so many files/bytes used that OBOOM doesn't want to calculate that.
This will display the size of the folder, calculated as the sum of the sizes of all files and subfolders in it. The script will need an input parameter, the folderID, which can be accessed by right-clicking in the webGUI on a folder an clicking "export links". The 8-digit mixture of letters and numbers after "folder/" is the folderID.
This script will go through your folder looking for rar archives splitted into parts. It will find duplicate parts and parts that are missing. The NumberOfPartsThatShouldBeInThere
is optional; the script can search for the file with the smallest size and take the part-number from there. It will give you an error if there is no smalles file.