RCLONE_CONFIG_ZZ_TYPE=http RCLONE_CONFIG_ZZ_URL=http://link.to.open.directory/here/
rclone size zz:
Replace http://link.to.open.directory/here/ and rclone will attempt to get the entire size of the directory.
RCLONE_CONFIG_ZZ_TYPE=http RCLONE_CONFIG_ZZ_URL=http://link.to.open.directory/here/
rclone size zz:
Replace http://link.to.open.directory/here/ and rclone will attempt to get the entire size of the directory.
Heres a snippet for using youtube-dl to download soundcloud playlists:
youtube-dl -w -o "Playlist/%(playlist_title)s (%(playlist_uploader)s) - %(playlist_id)s/%(title)s.%(ext)s" -f bestaudio --embed-thumbnail --add-metadata https://soundcloud.com/tommisch/sets
#!/usr/bin/env python3 | |
# Rip floatplane.rip | |
# by terorie :P | |
import sys | |
import requests | |
import lxml.html | |
from clint.textui import progress |
Easiest way to get rid of empty sub-directories on windows.
ROBOCOPY Parent-Directory-You-Want-To-Purge Parent-Directory-You-Want-To-Purge /S /MOVE
In other words, if I have a bunch of empty season and episode folders in my TV dir, i'd run: ROBOCOPY Television Television /S /MOVE
@echo off | |
cls | |
del /F /S /Q "%systemroot%\temp\*.*" | |
del /F /S /Q "C:\AppData\Local\Microsoft\Windows\History\*.*" | |
del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\*.*" | |
del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\*.*" | |
del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Temporary Internet Files\Content.IE5\*.*" | |
del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Temporary Internet Files\Low\Content.IE5\*.*" |
import os | |
from shutil import copyfile | |
import pathlib | |
from multiprocessing import Pool, Value | |
SRC = "/mnt/Data1/Music" | |
DST = "/mnt/Data1/Music [V0]" | |
to_convert = [] | |
counter = Value("d") |
proxy_cache_path /files/.cache/ | |
levels=1:2 | |
keys_zone=lg_cache:1m | |
max_size=90g inactive=168h use_temp_path=off; | |
server { | |
listen 80; | |
# Workaround for symlinks |
I hereby claim:
To claim this, I am signing this object:
import os | |
from shutil import copyfile | |
import pathlib | |
from multiprocessing import Pool, Value | |
SRC = "/mnt/merger/audio/music" | |
DST = "/mnt/merger/audio/music_opus" | |
to_convert = [] | |
counter = Value("d") |