Search Results

Search: Posts Made By: Dirk Einecke
34,935
Posted By Dirk Einecke
Extract the uptime from the output of the uptime command
Hi!

I want to extract the uptime from the output of the uptime command.

The output:
11:53 up 3:02, 2 users, load averages: 0,32 0,34 0,43

I just need the "3:02" part. How can I do this?
...
1,160
Posted By Dirk Einecke
Problem with cut command
Hi!

I get a md5 hash of a file with this command:
openssl md5 /Users/me/MyLogo.png | cut -f 2 -d ' '

"cut" because I just want the hash. But there is a problem -> that doen't work with a path...
15,392
Posted By Dirk Einecke
Hi! Well, cksum is to slow. There can be...
Hi!

Well, cksum is to slow. There can be files with > 2GB. And I want to scan also all subdirectories. The sum of the file size of all duplicated files is not important.

Dirk
15,392
Posted By Dirk Einecke
Find duplicate files by file size
Hi!

I want to find duplicate files (criteria: file size) in my download folder.

I try it like this:
find /Users/frodo/Downloads \! -type d -exec du {} \; | sort >...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy