JD, Gordon, Robert,

On 2018-03-12 06:13, Robert Nichols wrote:
On 03/11/2018 01:48 PM, Philip Rhoades wrote:

I started deleting GBs of stuff from:

/dev/sdb1 /backup

but df did not reduce from 95% so I looked more closely and found this weirdness:

# du -s -BG 20180216
43G     20180216

# du -s -BG 20180216/*
1G      20180216/naf_dirs
43G     20180216/phil
1G      20180216/root

# du -s -BG 20180216/phil/*
1G      20180216/phil/0
1G      20180216/phil/0_finance
1G      20180216/phil/0_naf
1G      20180216/phil/Maildir
1G      20180216/phil/txts
1G      20180216/phil/vimwiki

Where has ~37GB disappeared to?  There are no files held open and I have successfully umounted and re-mounted the partition - what is going on?

That "du -s -BG 20180216/phil/*" is ignoring any "dot"
files/directories under 20180216/phil .

It's better to leave out the "-s" option and use the "--max-depth"
option to limit the depth of the display.
        du -BG --max-depth=1 20180216/phil

Damn, I should have thought of that - normally, outside of .config, there would not be much in my dot dirs - but I had been experimenting with cryptocurrency nodes . .

Thanks for the useful tips!


Philip Rhoades

PO Box 896
Cowra  NSW  2794
E-mail:  p...@pricom.com.au
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to