Mailinglist Archive: opensuse (3441 mails)

< Previous Next >
Re: [opensuse] A question on find and how to out to file
  • From: nordi <nordi@xxxxxxxxxxxx>
  • Date: Wed, 14 Jan 2009 22:35:10 +0100
  • Message-id: <496E5A8E.4030807@xxxxxxxxxxxx>
Chuck Payne schrieb:
The problem I am having is nothing is getting wrote to my text file.
Everything I this I get a 0 size file. What am I doing wrong?

Don't know what is causing this, but changing the first line to

#!/bin/bash -v

may give you some hints. Anyway, simply using

du -aS / | sort -n > ~/filesizes

is _much_ faster and also more secure.

Regards
nordi

--
Spam protection: All mail to me that does not contain the string "suse"
goes to /dev/null.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References