[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] du file sizes
I also notice that ls -lk shows the size in bytes and not in kilobytes
bash-4.3# ls -l tr*
-rw-r--r-- 1 root root 2762 Feb 16 2014 troll.cfg
-rw-rw-rw- 1 root root 4833742 Oct 3 19:59 trunk-03102014.tar.bz2
-rw-rw-rw- 1 root root 4833706 May 9 09:12 trunk-09052014.tar.bz2
-rw-r--r-- 1 root root 4811763 Nov 30 2013 trunk-30112013.tar.bz2
-rw-rw-rw- 1 root root 6598969 Dec 30 2013 trunk-30122013.tar.bz2
bash-4.3# ls -lk tr*
-rw-r--r-- 1 root root 2762 Feb 16 2014 troll.cfg
-rw-rw-rw- 1 root root 4833742 Oct 3 19:59 trunk-03102014.tar.bz2
-rw-rw-rw- 1 root root 4833706 May 9 09:12 trunk-09052014.tar.bz2
-rw-r--r-- 1 root root 4811763 Nov 30 2013 trunk-30112013.tar.bz2
-rw-rw-rw- 1 root root 6598969 Dec 30 2013 trunk-30122013.tar.bz2
Peter
On Sat, 4 Oct 2014 19:45:43 , Peter Slegg <p.slegg@scubadivers.co.uk> wrote:
> I had been doing that as well with the same results.
> This is FAT32 if that helps.
>
> bash-4.3# du -habc /h/photos/Blue\ Album/Mold\ 1939/
> 5980160 /h/photos/Blue Album/Mold 1939/1.tif
> 6295552 /h/photos/Blue Album/Mold 1939/2.tif
> 12279808 /h/photos/Blue Album/Mold 1939
> 12279808 total
>
> bash-4.3# du -habc /n/photos/Blue\ Album/Mold\ 1939/
> 5980160 /n/photos/Blue Album/Mold 1939/1.tif
> 6299648 /n/photos/Blue Album/Mold 1939/2.tif
> 12288000 /n/photos/Blue Album/Mold 1939
> 12288000 total
>
>
> Regards,
>
> Peter
>
> On Sat, 04 Oct 2014 20:23:54 , Darren Wetherilt <dwetherilt@me.com> wrote:
> >
> > Try du -h
> >
> > And the file size will be displayed in 'human readable' form
> >
> > Darren.
> >
> > > On 4 Oct 2014, at 19:24, Peter Slegg <p.slegg@scubadivers.co.uk> wrote:
> > >
> > >
> > > Can someone explain the filesize info reported by du ?
> > > I am using du because Thing can't handle the long filenames.
> > > The files on each drive are supposed to be the same
> > >
> > > Names have been changed ...
> > >
> > > bash-4.3# du -abc /h/photos/Blue\ Album/Mold\ 1939/
> > >
> > > 5980160 /h/photos/Blue Album/Mold 1939/Laura Smithe, Marion T, Jean, Irene
> > .tif
> > > 6295552 /h/photos/Blue Album/Mold 1939/R Smithe, K Roberts, Marion T, Jean
> > , Irene.tif
> > > 12279808 /h/photos/Blue Album/Mold 1939
> > > 12279808 total
> > >
> > >
> > > bash-4.3# du -abc /n/photos/Blue\ Album/Mold\ 1939/
> > >
> > > 5980160 /n/photos/Blue Album/Mold 1939/Laura Smithe, Marion T, Jean, Irene
> > .tif
> > > 6299648 /n/photos/Blue Album/Mold 1939/L Smithe, K Roberts, Marion T, Jean
> > , Irene.tif
> > > 12288000 /n/photos/Blue Album/Mold 1939
> > > 12288000 total
> > >
> > > When I try Jinnee (demo) it shows the files and the folder have the
> > > same size but it is different to that reported by du.
> > >
> > > Peter
> > >