Hi Giorgos,
This seems to work.
# slocate -i -d /tmp/04vfile001_db '.wmv' |\
perl -ne 'chomp; print "$_\0";' |\
xargs -0 ls -ldh
Thanks for the help. I really appreciate it!
On Fri, Feb 11, 2005 at 03:57:07AM +0200, Giorgos Keramidas <[EMAIL PROTECTED]>
wrote:
>
> So, what you really wa
On Thu, Feb 10, 2005 at 04:24:34PM -0800, Chris Sechiatano wrote:
> > Use -print0 (that's a zero at the end of print), and the -0 option of
> > xargs. Then the whitespace shouldn't matter.
> >
> > # cd /storage/users
> > # find . -type d -print0 | xargs -0 du -sk
> >
> > That should do i
This is close to what I was trying before. Is there a way I can pipe the
output of locate into xargs? The filesystem is 680 Gigs and I'd like to
only search it once if possible.
This doesn't work:
# slocate -i -d /tmp/04vfile001_db *.wmv | xargs -0 ls -l
Thanks
On Fri, Feb 11, 2005 at 01:33:1
On 2005-02-10 15:17, Chris Sechiatano <[EMAIL PROTECTED]> wrote:
>
> I have a filesystem which is being used by MS workstations. People
> are storing mp3's, jpgs and other 'non work related files' on here and
> the management asked me to find all the files and how much space they
> are using.
>
>
In the last episode (Feb 10), Chris Sechiatano said:
> I'm sure everybody loves these kind of questions, but I really
> appreciate the help.
>
> I have a filesystem which is being used by MS workstations. People
> are storing mp3's, jpgs and other 'non work related files' on here
> and the manage
Hello,
I'm sure everybody loves these kind of questions, but I really appreciate
the help.
I have a filesystem which is being used by MS workstations. People are
storing mp3's, jpgs and other 'non work related files' on here and the
management asked me to find all the files and how much space th