General :: Output Md5 Or Sha1 Along With Fullpath And Filesize

Aug 26, 2010

I am trying to output md5 or sha1 along with fullpath/filename and file size but I dont seem to find a way to do this.

with

Quote:

find . -printf '%s %p'

i can retrieve size and fullpath and filename

however I am not able to merge that info with the md5 or sha1 of the file

my aim is to have a file such as this

6435b607f86b6e6be1e77bb3b1987677d1377275 ./abc/asda/file1.txt 404
6435b607f86b6e6be1e77bb3b987677d13772725 ./abc/asda/file2.txt 1404

also, performance is an issue for me, since i need to get the info out of 10m files (approx 6TB), so commands like find are preferred and less iterations among commands would be great too.

btw i've tried to use something like this

Quote:

find . -type f -printf '%s %p'| xargs awk '{x=system("md5sum "$2)}END {print x" "$2" "$1}'

but variable x contains the return value of the system command md5sum and not the stdout

View 9 Replies


ADVERTISEMENT

General :: List Recursively All Files With Timestampsand Fullpath?

Jan 3, 2011

I want to list recursively all files in given direcotry, with their fullpath and their timestamps.Something like this:10:30 Dec 10 2010 /tmp/mydir/myfileI've tryied with:find . -type f -exec ls -la {} ;but that don't give me the fullpath.

View 3 Replies View Related

Security :: Acceptable Kerberos Encryption - Error "ktutil: AES256/SHA1*: Encryption Type AES256/SHA1* Not Supported"

Dec 23, 2010

I am building an active directory and using BIND9 as my DNS. To allow for secure dynamic updates from the domain, I am enabling GSS-TSIG as detailed here and here. Unfortunately, some of the commands and configurations used here seem to be depreciated, at least in the newer versions that I'm using. My issue is one of keytab encryption. I generated a keytab using ktpass.exe on the Windows Server 2008 domain controller. I have tried DES/MD5, AES128/SHA1 and AES256/SHA1, each have been turned down by ktutil on the kerberos server (FreeBSD). Each time, it outputs the following error: ktutil: AES256/SHA1*: encryption type AES256/SHA1* not supported *Respective to encryption used.

I cannot find a list of suitable encryption schemes that ktutil will accept. The FreeBSD handbook details a means of producing a keytab file, but I'm not sure how to configure the Domain Controller to use the keytab.

View 1 Replies View Related

General :: List Files Bigger Than Filesize Specified?

Jan 15, 2011

How can I make ls (or any other particular command) to list me only files bigger than a specific file size?

View 1 Replies View Related

General :: Pop Up A Message If Filesize Smaller Then 30 KByte

Feb 28, 2011

I have a zenity message box in a script

zenity --info --text='done' > /dev/null 2>&1

I need to pop up a message, e.g.: "file is smaller then 30 KBytes!" when a file is smaller then 30 KBytes. How could i write an "if then else" script to pop up a zenity message, when e.g.: "FILE" is smaller then 30 KByte?

View 3 Replies View Related

General :: Know The Filesize Of The Downloaded File Before Downloading It?

Jun 6, 2011

How can I know the filesize of the downloaded file before downloading it?

Using Ubuntu/Fedora

View 1 Replies View Related

General :: Install To Provide Sha1 And Sha256 Checker?

Jun 12, 2009

Debian 5.0

What package I need to install to provide sha1 and sha256 checker?

View 2 Replies View Related

Ubuntu :: Total Filesize Of All Files Found With The Find Command?

Dec 21, 2010

i'd like to know the total filesize of all files found with the find command, so

Code:
find -iname '*.mpg' | xargs -I {} du -sh {}
but this gives me the filesize of each file, since each line is passed to "du".

how can I pass the whole list through the pipe?

View 6 Replies View Related

Ubuntu Multimedia :: Finding A Software To Detect Mp3 Duplicates With Different Bitrate / Filesize / Artist

Jun 14, 2011

I am looking for an application to detect mp3 duplicates using the mp3 spectrograph (sound wave matching) or something similar because simply I have many mp3 files that are the same but with different bitrate,ID3 tags,filesize

View 1 Replies View Related

Security :: Cracking SHA1 With EC2 GPU Instances?

Nov 28, 2010

Had to happen I guess - cheap cracking on the cloud; see here

View 14 Replies View Related

Security :: OpenPGP - MDC Packet - SHA1

Mar 29, 2010

OpenPGP Standard RFC 4880, not really a Linux Question, but as may be using GnuPG on Linux I thought I would ask here

The Modification Detection Code Packet is defined to use SHA-1, even though it does state in section 13.11. that this can be altered, and gives example methods. However this would cause interoperability, (q1)so I assume there is no standard method of doing this??

- How much of a threat do you believe this to be? Even though the SHA-1 hash is encrypted within the symmetrically encrypted integrity protected data packet.

View 1 Replies View Related

CentOS 5 :: DVD No Md5 Or Sha1 Hash File Available?

Jun 13, 2010

I just downloaded CentOS-5.5-i386-bin-DVD.iso from a mirror and there is no check sum file or hash for
this ISO. The md5sum.txt file contains:

[Code]...

View 5 Replies View Related

Fedora Installation :: SHA1 Is Not The One In F12-i386-CHECKSUM?

Dec 16, 2009

is there anyone who checked your downloaded file against the provided key? i have successfully downloaded the Fedora-12-i386-DVD.iso several times, but the SHA1 is not the one in Fedora-12-i386-CHECKSUM is there anyone who has the same problem? the SHA1 i calculated is: 0dc8ed436f0b44874454a379e8de5ad057c0115d

[Code]...

View 2 Replies View Related

Software :: Unable To Install Digest-SHA1?

Dec 21, 2010

I am trying to install bugzila on CentOS release 5.5. In that process I have to install perl package Digest::SHA. I did it through yum (Doesnt seems to be recognized by cpan and bugzila)

1. yum install perl-Digest-SHA
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.ubiquityservers.com
* base: mirrors.cmich.edu

[Code]...

I am not sure why cpan and bugzila are not recognizing the module and where is the mistake. I am unable to interpret why make file is having problem in cpan Can any one throw some light on what exactly is going wrong with my install

View 3 Replies View Related

CentOS 5 :: No MD5 Or SHA1 Sums For Combined ISO Files

Jan 1, 2011

There are md5 and/or sha1 checksum files for the CentOS 5.5 ISO files, e.g. "part 1 of X". However there is no checksum for the combined ISO file. I believe we can check the media at boot time, but it would be nice to have a checksum for the combined ISO's and not just the individual pieces. Any file system should do an error free copy, but there is always the possibility of a copy not happening correctly. Is there any official source for the checksum files I'm looking for? There are sums for CentOS-5.5-x86_64-bin-DVD-1of2.iso and 2of2.iso but nothing for CentOS-5.5-x86_64-bin-DVD.iso.

x86_64 media and their sha1sums are:
0c27f508728f6a96f50e4201cd770fe9e57af3e2 CentOS-5.5-x86_64-bin-1of8.iso
ff57db0cf9af9bfc65471f49444ea92cdc238347 CentOS-5.5-x86_64-bin-2of8.iso
0faf38976fbf4053180a25f7535d66b084092059 CentOS-5.5-x86_64-bin-3of8.iso
b097bf9b747f2d16da00ff29f1e0d40b523b0a55 CentOS-5.5-x86_64-bin-4of8.iso
f1179ec875c0b4792e56f660493e82f0aff5e0f3 CentOS-5.5-x86_64-bin-5of8.iso
009892c8de408dc091e5a96b4a4ab213f2d5fe17 CentOS-5.5-x86_64-bin-6of8.iso
9660e63bd06a68ce94fe98defae1a0806ab834ae CentOS-5.5-x86_64-bin-7of8.iso
80c74ca2622b9aee3621a13a0cf6dbdc7743b4ee CentOS-5.5-x86_64-bin-8of8.iso
a85d7cd41f49f2146177dae52163d5dca276efc2 CentOS-5.5-x86_64-bin-DVD-1of2.iso
bb9a2c140170f10ed854541004539890ef7c68c8 CentOS-5.5-x86_64-bin-DVD-2of2.iso
3a04aa81ef75f329bf245a8c4f02af8137a84fb8 CentOS-5.5-x86_64-LiveCD.iso
231af7ca726557634a1f4d4f57436aab5a75f3b4 CentOS-5.5-x86_64-netinstall.iso

The MD5 sum I get is:
; SlavaSoft Optimizing Checksum Utility - fsum 2.52.00337
; Generated on 01/01/11 at 10:54:56
; 9b0d108cb3a80a9ce1eb9c3bcde0aceb *CentOS-5.5-x86_64-bin-DVD.iso

The SHA1 sum I get is:
; SlavaSoft Optimizing Checksum Utility - fsum 2.52.00337
; Generated on 01/01/11 at 11:12:17
; 40d11a8901a6af0c295a284b17dcdb66a83dc070 ?SHA1*CentOS-5.5-x86_64-bin-DVD.iso

View 2 Replies View Related

Fedora :: Find The Sha1/md5sum Hashes For Fedora14?

Feb 23, 2011

where would i find the sha1/md5sum hashes for fedora14?

View 1 Replies View Related

Software :: SHA1-Hashing Differs When Writing To A File?

Mar 9, 2011

it is about the program sha1sum to create SHA1-hashes. As you probably know, SHA1-Hashes do have the length 20 byte. So when I just type:

Code:
sha1sum myfile

it produces an output of

Code:
(some20byte) myfile

just as it should. Now I want to store the 20byte hash in another file, I use this command:

Code:
sha1sum myfile | awk "{print $1}" >> myhash

Unfortunately I'm not familiar with awk, but this should cut off the end of the sha1sum output, which is the name of the file again. The problem here is: The newly created file myhash has the size 41 bytes, and printing it out I can see that it is not the original hash (I wrote a little program to print it bytewise).

View 4 Replies View Related

Ubuntu Servers :: Warning: Prerequisite Digest::SHA1 0 Not Found

Oct 7, 2010

This is installed and I get this error. I am attempting to install razor-agents 2.84 and get this error along with: Warning: prerequisite URI::Escape 0 not found.

Both of these were install in CPAN. When I attempt to install them again, they say they are up to date.

View 5 Replies View Related

Ubuntu Multimedia :: When Click On Perference Then Sounds And Go To The Output Selection It Has Only Dummy Output As A Option?

Apr 29, 2010

I cant seem to get the sound working and when I click on perference then sounds and go to the output selection it has only dummy output as a option.

View 3 Replies View Related

Ubuntu Multimedia :: KMplayer - No Video Output But Can Get Only The Audio Output

Mar 7, 2010

I installed KMplayer but I cant play video files...No video output but can get only the audio output...So how to make this work for videos?

View 2 Replies View Related

Ubuntu Multimedia :: Sound Output - Get HDMI Audio Output To My TV

Jan 25, 2011

Running 10.10 and win 7 on my HP dv6-2150us laptop and I'm having a few issues.

First how do I get HDMI audio output to my TV? I think I have just a integrated Intel graphics card. It works fine in windows but I can't seem to get it to work in Ubuntu. I tried searching but couldn't find anything pertaining to this issue.

View 3 Replies View Related

Ubuntu Multimedia :: Cannot Select MP3 As An Output Output Option?

Jan 6, 2011

I am sure that this is very simple but I have installed sound juicer and the gstreamer plug ins. The problem is i still cannot select MP3 as an output output option

View 3 Replies View Related

Ubuntu :: Audio Output Will Not Output Sound To Speakers?

Jul 19, 2011

I don't know anything about ubuntu. Could you guys help me out. I'm pretty knowledgeable with windows if you guys need a printout of something let me know. My friends getting really frustrated about this. Help!!i

So here's the situation. He plugs his audio jack into his computer and then into the speakers but it still plays from the computer speakers.

View 7 Replies View Related

Software :: Audio Output Device Changes To 'dummy Output'?

Mar 27, 2010

I finally got audio working on my ubuntu 9.10 desktop... now I am having sound issues watching movies from a network share.The sound device continually randomly changes to "dummy output device" and then there is no sound output. The sound icon dissapears on the toolbar. To get it back and audio to start working I have to $sudo alsa force-reloadIt seems to happen everytime there is a network delay, the movie will stop for a second and then when it plays the sound is gone

View 1 Replies View Related

Software :: Cloning An Audio Output To Another Output?

Mar 4, 2011

Is possible to have two identical sound card outputs? For example, is I want to use two headphones at the same time.

View 6 Replies View Related

General :: Sar Output For A Particular Day?

Mar 8, 2010

I have to output a sar report which was created on Mar 1 and am trying with

sar -f sar01
and
sar -o sar01

i can use to extract the output from sa01. Further any link to learn the "SAR"

View 2 Replies View Related

General :: What Are The Symbols In VDT's Output

Feb 17, 2011

I've been messing with a curses-based disk check tool in Linux called VDT (visual disk test). It puts out a nice little chart on the screen as it's going, but I have no idea what each unit of output on the chart means. I've read the man page several times, but there doesn't seem to be any mention of the visual output.

For instance, right now I have a chart that looks like this during a read test. What do the o's and the Z mean?

View 1 Replies View Related

General :: Individual Cpu % In 'top' Output?

Jan 22, 2010

Usually to view individual cpu % we press '1' in the interactive mode of top.

However I am not able to figure out the logic to get the same output in batch mode i.e,

top -n1b

I am redirecting this output to a file to view it later and stuff like that, so I need the batch mode. Is it possible? Installing a separate tool for this is not gonna be possible.

I'm looking for an option that I am missing or some way to capture the output.

View 4 Replies View Related

General :: Df - Incorrect Output ?

Feb 21, 2010

I just shrink my /home (lvm2 / ext3) and next to a reboot df give me this ouput:

Quote:

Quote:

So for my debian 265 + 2.2 = 281 ? the home is suppose to be set to 285 Go and the lv for the home to 285.17 Go

How to fix that? Or if I missed something when I shrink my home.

View 1 Replies View Related

General :: Get The Last Line Of An Output?

Jan 21, 2011

I want to write a bash script to run a command and get the last line of the output of that command. For example, the output of "cat /proc/zoneinfo" is:

Code:
Node 0, zone DMA
pages free 3948
min 2
low 2

[Code]....

How can I get the last line in a separated format?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved