difference in number of files and directories ( from GUI and, Command line )
arelem3
arelem3 at bigpond.com
Tue Oct 28 22:51:00 UTC 2014
>
>
> I'm trying to find total numbers of files and directories in my home
> folder using following two methods ... but the result is different in
> both ways
> _
> __first command line_
>
> tree /home/jatin | tail -1
>
> 3071 directories, 26455 files thus total containing items are 3071+26455=29525 second using GUI ( right click on /home/jatin directory ..and then
> properties ) it shows, 29,503 items, totalling
>
> why like that .... M I doing anything wrong ... is there any batter way to confirm total files and directories in my home folder ????
>
> ( I've taken a backup of my home directory and want to confirm that everything is ok or not ..by comparing the directory and files )
>
> there is also difference in size "du" command output and gui
> Warm Regards
>
I noticed that when using ls -aFl and hazard a guess that via command
line we get hidden files and directory root . and .. that may not be
counted in the GUI count. I much prefer command line over GUI for most
things.
Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20141029/e0203c16/attachment.html>
More information about the ubuntu-users
mailing list