Ubuntu Pastebin

Paste from leftyfb at Sun, 4 Jun 2017 18:23:00 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/bin/bash

50(){
/usr/bin/find /mnt/3TB/downloads -mtime +2 -size +20k -exec rm {} \;
}

30(){
/usr/bin/find /mnt/3TB/downloads/ -empty -type d -delete
/usr/bin/find /mnt/3TB/downloads/finished/ -empty -type d -delete
}

$1
Download as text