![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2005
Location: Café del Mar
Posts: 5,162
|
![]() 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...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |