thank you for your answer, it works fine with quotes (i still very confused with quotes).
btw :-c option is refused on my unix box (a qnap NAS).
i used to get the file path from a text file but i never succeed to do the checksum after that (tried so many syntaxes):
Quote:
where sums.txt contains lines like:
658f410acab9a2d08514af4957cf7422 ./archives/file1.zip
always return an "MD5 ERROR ves/file1.zip file doesn't exists"
note that prompted path is trunkated, i don't understand why probably an other quote problem...
I am trying to compare two identical files by using md5 command, but cant get the right command parameters Please help me with any examples. All I want is to know how to compare two identical files which are residing on two different machines in my local network, for example:
Host_A -... (6 Replies)
I am a newbie in programming in Perl.
My problem is that this unix command is embedded in Perl but it gives an empty output. Here's the code:
$temp = `md5 "../Directory String/..." | awk {'print $NF'} > "../Directory/file.txt"`;
The output file should contain the md5 hash value of the... (2 Replies)
Hi.
I'm triyng to make a Bash Script that checks (recursively) the MD5 from all the files in a certain directory and compare them against some other check that should be already done and saved in a file.
I've reached to the point where i have the MD5 from the file and the MD5 that the script... (1 Reply)
Hi all, I am brand new to these forums and I am a brand new UNIX Administartor. Don't know any scripting yet :wall:, and would like to learn as my boss is slowly letting me understand everything about being a Sys/*Nix Admin. He created this script which I am trying to replicate because I lost it... (54 Replies)
Hello everyone,
I am looking to basically creating md5sum files for all iso files in a directory and archive the resulting md5 files into a single archive in that very same directory.
I worked out a clumsy solution such as:
#find files for which md5sum are to be created and store the... (1 Reply)
Hi, I tried to write script, which would be able to generate MD5 sums into txt file.. But It won't work.. (I've been trying to fix that over 4 hours, but nothing helps)
Here it is
#!/bin/bash
FILE="nothing1"
POST="nothing2"
I=1
while
do
FILE=`ls -ltR | grep "^-" | tr -s "... (1 Reply)
Hello good people,
I came across md5 checksum. Can anyone please explain to me what it does and if possible an example of how to use it?
Thank you very much (1 Reply)
I have more than one file in my directory & I want to SCP them all with MD5 verification of local & remote file, Problem is that the script gets stop after scp one file. Below is the code. #!/usr/bin/bash
cd /application/datafolder/my/
ls > my_file_list.txt
while read fname
do
... (7 Replies)
I have about 1500 rows (encoded b64(b64(md5($pass))) algorythm) in a file.
I would like reverse the b64 into md5 hash format.
How could I do that from command line? So I need only the correct md5 hash formats.
These row format:
4G5qc2WQzGES6QkWAUgl5w
P9tKxonBOg3ymr8vOBLnDA... (1 Reply)
Discussion started by: freeroute
1 Replies
LEARN ABOUT CENTOS
zipmerge
ZIPMERGE(1) General Commands Manual ZIPMERGE(1)NAME
zipmerge - merge zip archives
SYNOPSIS
zipmerge [-DhIiSsV] target-zip source-zip Op source-zip ...
DESCRIPTION
zipmerge merges the source zip archives source-zip into the target zip archive target-zip. By default, files in the source zip archives
overwrite existing files of the same name in the target zip archive.
Supported options:
-D Ignore directory components in file name comparisons.
-h Display a short help message and exit.
-I Ignore case in file name comparisons
-i Ask before overwriting files. See also -s.
-S Do not overwrite files that have the same size and CRC32 in both the source and target archives.
-s When -i is given, do not before overwriting files that have the same size and CRC32.
-V Display version information and exit.
EXIT STATUS
zipmerge exits 0 on success and 1 if an error occurred.
SEE ALSO zipcmp(1), ziptorrent(1), libzip(3)AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
NiH June 4, 2008 ZIPMERGE(1)