Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-29-2007, 04:00 PM   #1
cranki
Confirmed User
 
Join Date: Feb 2005
Location: Café del Mar
Posts: 5,162
Clean Webserver from rarely used files?

Is there a (ftp?-)program that allows me to search my webserver for rarely used files? So I may delete old gallery htmls which haven't been accessed in three years for example...
cranki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2007, 06:06 PM   #2
zagi
Confirmed User
 
Join Date: Jan 2004
Posts: 1,238
I'm not sure about an FTP server but a unix command will do the trick.

So long as your file system is not mounted with "noatime" then you can use:

stat filename.ext

This will show you something like:

stat package.xml
File: `package.xml'
Size: 11656 Blocks: 24 IO Block: 4096 regular file
Device: 807h/2055d Inode: 7225548 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2007-10-23 13:36:51.000000000 -0400
Modify: 2007-09-21 12:11:54.000000000 -0400
Change: 2007-10-23 13:36:51.000000000 -0400

From which you can use the Access time to determine last time of access
__________________
Managed US/NL Hosting [ [Reality Check Network ]
Dell XEON Servers + 1/2/3 TB Packages ICQ: 4-930-562
zagi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2007, 01:09 AM   #3
rvn
Confirmed User
 
Join Date: Sep 2006
Location: Ukraine/USA
Posts: 176
If you have a dedicated server, use sFTP Drive - it can connect your server as a regular disk in Windows. It supports all operations - search, copy, delete, etc. Then just search by access date (sFTP drive caches remote directories, so access will be very fast) and delete rarely used.
__________________
These things are good
rvn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.