On 14 July 2014 6:53:30 AM AEST, Joseph wrote:
>On 07/13/14 23:25, Dimitri Semitsoglou-Tsiapos wrote:
>>On Sun, 13 Jul 2014 14:03:41 -0600
>>Joseph wrote:
>>
>>> I'm trying to clean up my home directory by locating large disk
>>> files. I used: find / -type f -size +2k -exec ls -lh {} \; | aw
Instead of '-exec ls' I recommend the -ls or -printf switches. If you
really require the human-formatted size, you can also just quote {} properly.
Joseph writes:
> I'm trying to clean up my home directory by locating large disk files. I used:
> find / -type f -size +2k -exec ls -lh {} \; |
On 07/13/14 23:25, Dimitri Semitsoglou-Tsiapos wrote:
On Sun, 13 Jul 2014 14:03:41 -0600
Joseph wrote:
I'm trying to clean up my home directory by locating large disk
files. I used: find / -type f -size +2k -exec ls -lh {} \; | awk
'{ print $8 ": " $5 }'
Take a look here regarding why yo
On Sun, 13 Jul 2014 14:03:41 -0600, Joseph wrote:
> I'm trying to clean up my home directory by locating large disk files.
> I used: find / -type f -size +2k -exec ls -lh {} \; | awk '{ print
> $8 ": " $5 }'
>
> but I'm getting strange output:
> 13:57: 194M
> 2011: 57M
> 17:05: 31M
File name
On Sun, 13 Jul 2014 14:03:41 -0600
Joseph wrote:
> I'm trying to clean up my home directory by locating large disk
> files. I used: find / -type f -size +2k -exec ls -lh {} \; | awk
> '{ print $8 ": " $5 }'
Take a look here regarding why you should never parse ls' output:
http://mywiki.woole
2014-07-13 14:19 GMT-06:00 Michael Orlitzky :
> On 07/13/2014 04:03 PM, Joseph wrote:
>> I'm trying to clean up my home directory by locating large disk files. I
>> used:
>> find / -type f -size +2k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
>>
>> but I'm getting strange output:
>
> Just
On 140713 1403, Joseph wrote:
> I'm trying to clean up my home directory by locating large disk files. I used:
> find / -type f -size +2k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
>
> but I'm getting strange output:
> 13:57: 194M
> ...
Try
find / -type f -size +2k -exec ls -lh {} \
On 07/13/2014 04:03 PM, Joseph wrote:
> I'm trying to clean up my home directory by locating large disk files. I used:
> find / -type f -size +2k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
>
> but I'm getting strange output:
Just use "du -h" instead of "ls -lh" and awk:
find / -type f
I'm trying to clean up my home directory by locating large disk files. I used:
find / -type f -size +2k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
but I'm getting strange output:
13:57: 194M
2011: 57M
17:05: 31M
2011: 27M
06:02: 41M
11:31: 21M
11:39: 28M
22:02: 62M
2012: 26M
12:53: 104M
9 matches
Mail list logo