Live
Manage Rooms
Mar 2mrcougar:Ree
Mar 1Starkiller666:I mean, I like it. But also I modded Discord to get away from the grey lol
Mar 1Starkiller666:This is just Discord with extra steps
Feb 28mIKe:GIF
Jan 21Master_Frag:We live in a society.
Sep 23, 2025.Lb:I'm gonna tie you up
Sep 16, 2025Starkiller666:We're still alive! Wild!
Mar 15, 2025stryker123abc:can i get another invite lol i didnt check back @michael
Dec 11, 2024Starkiller666:Time for my usual December "We're still alive!" message
Apr 21, 2024Master_Frag:Oh hai shoutbox
Apr 14, 2024Michael:I've sent you one stryker
Mar 30, 2024stryker123abc:can i get a new discord link
Mar 19, 2024.Lb:wat
Mar 16, 2024mIKe:Lb wake up we're reunion'ing
Mar 11, 2024Starkiller666:Sup
Mar 11, 2024Blaze:sup noobs
Feb 11, 2024Starkiller666:We're still alive!
Nov 1, 2023gamethan:Yoyo dudes! Hope everyone's doing well!
Aug 3, 2023Starkiller666:Howdy
Jul 16, 2023mIKe:Hi
May 21, 2023neonringo:Funny, how I first started out here when I was like, 10/13 around that age, I'm now almost 30!
May 21, 2023neonringo:Is it dead now tho?
May 21, 2023Starkiller666:We're still not dead
Apr 12, 2023jamesisjam2lol:Can someone DM me the discord server invite on discord, I'm Rasttny#9215 TIA
Feb 22, 2023LaZy cAt:ouch
Sep 22, 2022iBiinky:Hello old friends! Hope everyone is well
Feb 5, 2022gamethan:Heck, good memories here :) miss the good ol days in the Legit server
Login or Register to shout
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cloud Cleaner
08-13-2014, 11:56 AM,
#1
Wrote a bash script for linux that cleans up movies, music and such that are older than a certain amount of days. Perfect for seedboxes. It deletes Cams and Tele Syncs older than 30 days and Webrips after 60 days. It then emails the log of what was done to me.
I scheduled this with a cron job to run cleanup once a week.

Code:
#/bin/bash
#run loop for each file in the directory
echo "Ran cleanup on cloud" > /tmp/mail_report.log
cd /var/www/rtorrent/complete/
find ./movies/ -iname '*cam.*' -mtime +30 >> /tmp/mail_report.log
find ./movies/ -iname '*cam *' -mtime +30 >> /tmp/mail_report.log
find ./movies/ -name '*TS *' -mtime +30 >> /tmp/mail_report.log
find ./movies/ -iname '*HDTS*' -mtime +30 >> /tmp/mail_report.log
find ./movies/ -iname '*HDCAM*' -mtime +30 >> /tmp/mail_report.log
find ./movies/ -iname '*HD-TS*' -mtime +30 >> /tmp/mail_report.log
find ./movies/ -iname '*WEBRIP*' -mtime +60 >> /tmp/mail_report.log
find ./movies/ -iname '*WEB-RIP*' -mtime +60 >> /tmp/mail_report.log
find ./movies/ -iname '*WEBDL*' -mtime +60 >> /tmp/mail_report.log
find ./movies/ -iname '*WEB-DL*' -mtime +60 >> /tmp/mail_report.log
find ./tele/ -iname '*' -mtime +90 >> /tmp/mail_report.log
find ./applications/ -iname '*' -mtime +60 >> /tmp/mail_report.log
find ./games/ -iname '*' -mtime +90 >> /tmp/mail_report.log
find ./music/ -iname '*' -mtime +120 >> /tmp/mail_report.log
find ./movies/ -iname '*' -mtime +120 >> /tmp/mail_report.log
find ./others/ -iname '*' -mtime +90 >> /tmp/mail_report.log


find ./movies/ -iname '*cam.*' -mtime +30 -exec rm -rf {} \;
find ./movies/ -iname '*cam *' -mtime +30 -exec rm -rf {} \;
find ./movies/ -name '*TS *' -mtime +30 -exec rm -rf {} \;
find ./movies/ -iname '*HDTS*' -mtime +30 -exec rm -rf {} \;
find ./movies/ -iname '*HDCAM*' -mtime +30 -exec rm -rf {} \;
find ./movies/ -iname '*HD-TS*' -mtime +30 -exec rm -rf {} \;
find ./movies/ -iname '*WEBRIP*' -mtime +60 -exec rm -rf {} \;
find ./movies/ -iname '*WEB-RIP*' -mtime +60 -exec rm -rf {} \;
find ./movies/ -iname '*WEBDL*' -mtime +60 -exec rm -rf {} \;
find ./movies/ -iname '*WEB-DL*' -mtime +60 -exec rm -rf {} \;
find ./tele/ -iname '*' -mtime +90 -exec rm -rf {} \;
find ./applications/ -iname '*' -mtime +60 -exec rm -rf {} \;
find ./games/ -iname '*' -mtime +90 -exec rm -rf {} \;
find ./music/ -iname '*' -mtime +120 -exec rm -rf {} \;
find ./movies/ -iname '*' -mtime +120 -exec rm -rf {} \;
find ./others/ -iname '*' -mtime +90 -exec rm -rf {} \;
df -h >> /tmp/mail_report.log
mail -s .CloudReport. [email protected] -- -f Cleanup < /tmp/mail_report.log &
Reply
08-13-2014, 01:16 PM,
#2
Niiiice!
Reply
08-14-2014, 12:04 PM,
#3
nice

I 'm still on plex but I got the chromecast which supports it on the TV now.
Reply
08-14-2014, 01:52 PM,
#4
Reply
08-19-2014, 05:11 PM,
#5
I don't seed torrents.
Reply
08-19-2014, 05:31 PM,
#6
(08-19-2014, 05:11 PM)Videowarrior Wrote: I don't seed torrents.

lame
Reply
08-20-2014, 06:02 AM,
#7
(08-19-2014, 05:11 PM)Videowarrior Wrote: I don't seed torrents.

Thief!
Reply
08-20-2014, 07:51 PM,
#8
seed till ya bleed !
Reply




Users browsing this thread: 1 Guest(s)