Re: --min-size option for du (patch)

2009-01-15 Thread Andreas Schwab
Paul Chambers writes: > My goal here is to quickly find what's consuming the disk space, and in my > experience, it's not usually huge individual files. Have you tried kdirstat? Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Ge

Re: --min-size option for du (patch)

2009-01-15 Thread Pádraig Brady
Paul Chambers wrote: > I'd like to submit the attached small patch for du. it adds a > '--min-size' option, which can be used to filter the output to only > include items of that size or greater. > > I find it useful in locating large folders on disk in one pass, to zero > in on the worst offender

info related to dd command

2009-01-15 Thread Qenex unix
hi, i hope you are fine. i need some help related to dd command. Is there any way to create initail ram disk (initrd) using dd which can change dynamically (is there any options against the count ) according to the system actual RAM disk at system boot. Thanks in advance, Unix Out of Box

Re: --min-size option for du (patch)

2009-01-15 Thread Paul Chambers
Andreas Schwab wrote: Paul Chambers writes: My goal here is to quickly find what's consuming the disk space, and in my experience, it's not usually huge individual files. Have you tried kdirstat? Andreas. Yes (and windirstat). Great tools, I've found windirstat particularly useful

Date can dish it out, but not parse it back in

2009-01-15 Thread jidanni
Date can dish it out, but not parse it back in, for other languages: $ date 五 1月 16 00:49:11 CST 2009 $ date|date -f - 五 1月 16 00:00:00 CST 2009 $ LC_ALL=C date|date -f - 五 1月 16 00:49:26 CST 2009 $ locale LANG=zh_TW.UTF-8 LC_CTYPE=zh_TW.UTF-8 LC_NUMERIC="zh_TW.UTF-8" LC_TIME="zh_TW.UTF-8" LC_CO

Re: stat signed/unsigned

2009-01-15 Thread Pádraig Brady
I've split up my "avoid -Wsign-compare warnings" patch, like Jim originally requested. Attached are IMHO the non contentious patches. The rest which I'll drop for the moment all boil down to passing unsigned ints as field widths to printf, and treating stat.st_size as unsigned. cheers, Pádraig.

Re: dd skip bug?

2009-01-15 Thread Pádraig Brady
Pádraig Brady wrote: > Jim Meyering wrote: >> Pádraig Brady wrote: >> >>> I spent a little more time on this issue. >>> The attached patch makes the following changes for seekable inputs and >>> outputs. >>> Note skip is for input, and seek is for output in the following: >>> >>> skip beyond end

Re: Date can dish it out, but not parse it back in

2009-01-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to jida...@jidanni.org on 1/15/2009 9:50 AM: > Date can dish it out, but not parse it back in, for other languages: Thanks for the report. However, this is a known design limitation - there is no way to write a generic date parser that can

Re: Date can dish it out, but not parse it back in

2009-01-15 Thread jidanni
OK, better add after `-d DATESTR' `--date=DATESTR' Display the date and time specified in DATESTR instead of the current date and time. DATESTR can be in almost any common format. That it wants ASCII... P.S., nobody saw my http://lists.gnu.org/archive/html/bug-coreutils/2009-01/msg

Re: Date can dish it out, but not parse it back in

2009-01-15 Thread Jim Meyering
jida...@jidanni.org wrote: > OK, better add after > `-d DATESTR' > `--date=DATESTR' > Display the date and time specified in DATESTR instead of the > current date and time. DATESTR can be in almost any common > format. > That it wants ASCII... > > P.S., nobody saw my > http://lists.