diskusagereports
diskusagereports copied to clipboard
hard-links
Can this be tweaked to only "count" hard-linked files once. I've got a server with a hard-linking system for backups, and diskusage is reporting that my 20gb drive has 50gb of space in use. Any ideas?
If you are in a Linux/Unix environment you can use the find command with the -links options. For example:
find . -type d -o type f -links 1
lists the directories or files that have only one link. i.e. exclude files with more than 1 link.