Folder size comparison through shell?

Status
Not open for further replies.

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
Hi,

I am checking on data that may have been deleted within the last hour.

What I am doing now is looking at two cif shares & checking the folder properties side by side to see if there is a size difference.

Is there a way through commend to do the same thing?

/mnt/Pool/Shared/folder 1 - folder size 2 megs - 10 files

/mnt/clone/Shared/folder1 - folder size 2 megs - 10 files

THanks,
Rich
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
du -sh /mnt/clone/Shared/folder1
find /mnt/clone/Shared/folder1 | wc -l
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
maybe a combo of ls and diff?
 
Status
Not open for further replies.
Top