View Single Post
Old 06-29-2002, 04:10 PM  
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,066
Quote:
Originally posted by Hypo



So I just login via ssh, type that line in, and it does what i want it to do? That simple??

Will it search through all the subfolders?

I can test it on a couple of domains before I unleash it on the whole server. So that would be like -

for file in $( find /usr/home/hypo/html/domain1.com -name "*.html" -atime "+30" ); do rm $file; done

?
In theory that should work. I'd test it on a domain or a subfolder of a domain first.

I just tested viewing a page on my server, and the atime (access time) got modified, which was the only thing I wasn't 100% sure of. Give it a try
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote