To Find UNLINKED files

(Files that was removed but still holds space on filesystem)

A while back i had the problem with a core file was deleted but the space on the OS was not released, I followed the following to procedure to clear the error

Following command find the UNLINKED files

find /proc -links 0 -type f -size +XXXXc -ls > /tmp/list.txt

/wp-content/uploads/2013/08/1_256125.jpg

Edit the /tmp/list.txt file which will give you the list of files that are UNLINKED as seen below

/wp-content/uploads/2013/08/2_256126.jpg

If the process does not exists you can delete the file

3.JPG

Best Regards

Marius

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply