Hi,
I want to create unix script such that it should run on machine A, it should run TAR commands on machine B and copy that TAR to machine C.
Is it possible?
Thanks
Rahul (2 Replies)
I want to find the size of particular file exists in a particular directory
and i wnt to zip it.
In the below mentioned code it should check the MQ.log in the
particular directory.Please correct my code so that it will check
for particular MQ.log but i could not able to check whether
the... (9 Replies)
Hi Rockers,
I hope u r dng good one. I have a one question is in unix with informatica . I need a unix script to check whether particular file exists in the folder , If it means we have a informatica server , so we can start the informatica server by accessing that file. Every week we have... (0 Replies)
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Hello,
I registered and recreated this thread because everywhere we can see "It's not possible to get the file creation time in UNIX fs". This is not true any more with Ext4! Unfortunately, there is not user-level tools that allow you to read those information. You have to use a low level tool... (4 Replies)
Hello
I am communicating with two devices using my computer over UDP protocol. The application is running fine. When I monitored the UDP traffic using Wireshark software, I found that there were too many Checksum errors.
Please find attached the png file showing this error. I am about to... (0 Replies)
hi all i want a script to FTP a file and should generate a quality checksum file
means when I FTP a file from one server to another server it should generate a QC file which should contain timestamp,no.of records in that file
Thanks in advance
saikumar (3 Replies)
Hi All,
Can any one help how to long list today's files in unix.i.e files which are have been created today should be able to "ls -ltr" .I should be able to apply the "ls -ltr" command on today's files(should not include all the files which were there in the directory).
Thanks in advance!!! (3 Replies)
Hello all,
Info:
System RedHat 7.5
I need to create a script that based on the creation time,
if the file is older then 5 minutes then execute some stuff, if not exit.
I thought to get the creation time and minutes like this.
CreationTime=$(stat -c %y /tmp/test.log | awk -F" " '{ print... (3 Replies)
Discussion started by: charli1
3 Replies
LEARN ABOUT DEBIAN
cksfv
CKSFV(1) General Commands Manual CKSFV(1)NAME
cksfv - tests and creates simple file verification (SFV) listings
SYNOPSIS
cksfv [-bciqrL] [-C dir] [-f file] [-g path] [file ...]
DESCRIPTION
cksfv is a tool for verifying CRC32 checksums of files. CRC32 checksums are used to verify that files are not corrupted. The algorithm is
cryptographically crippled so it can not be used for security purposes. md5sum (1) or sha1sum (1) are much better tools for checksuming
files. cksfv should only be used for compatibility with other systems.
cksfv has two operation modes: checksum creation and checksum verification
In checksum creation mode cksfv outputs CRC32 checksums of files to to stdout, normally redirected to an .sfv file.
In checksum verification mode cksfv reads filenames from an sfv file, and compares the recorded checksum values against recomputed check-
sums of files.
OPTIONS
These options are available
-b Strip dirnames from filenames that are checksumed. loads the files from original positions, but prints only basenames to catalogue
in sfv file.
-c Use stdout for printing progress and final resolution (files OK or some errors detected). This is useful for external programs
analysing output of cksfv. This also forces fflushes on the output when needed.
-C dir Change current directory before proceeding with a verification operation. This option is mostly obsoleted with -g option. Earlier
this was used to verify checksums in a different directory: cksfv -C foo -f foo/bar.sfv
-f file
Verify checksums in the sfv file
-g file
Change current directory to the path name of the file and verify checksums in the sfv.
-i Ignore case in filenames. This is used in the checksum verification mode.
-L Follow symlinks when recursing subdirectories. This option is used with the -r option.
-q Enable QUIET mode (instead of verbose mode), only error messages are printed
-v Enable VERBOSE mode, this is the default mode
-r recurse directories and check the .sfv files in each. Symlinks are not followed by default. This option cannot be used with -f and
-g options.
EXAMPLES
Verify checksums of files listed in 'foo/files.sfv':
cksfv -g foo/files.sfv
Create checksums for a set of files:
cksfv *.gz > files.sfv
Verify checksums of case-insensitive filenames listed in 'files.sfv'.
This is sometimes useful with files created by operating systems
that have case-insensitive filesystem names.
cksfv -i -g files.sfv
Check checksums of files 'foo' and 'bar' listed in 'files.sfv':
cksfv -g files.sfv foo bar
Create checksums of files matching /foo/bar/* and strip dirnames away:
cksfv -b /foo/bar/* > files.sfv
Recursively scan /foo/bar and verify each .sfv file:
cksfv -C /foo/bar -r
Same as previous, but starting from the current working directory
and also following symlinks during recursion:
cksfv -r -L
SEE ALSO basename(1)dirname(1)md5sum(1)sha1sum(1)AUTHOR
This manual page was originally written by Stefan Alfredsson <stefan@alfredsson.org>. It was later modified by Heikki Orsila
<heikki.orsila@iki.fi> and Durk van Veen <durk.van.veen@gmail.com>.
CKSFV(1)