Actually:
will set the access time and the modification time of file2 and any other file operands to match the access time and the modification time of file1. If you just want to reset the modification time, use:
This User Gave Thanks to Don Cragun For This Post:
Hi,
I'm trying to write a command that backs up certain files into my current directory and adds a prefix to the backed up file name. I realise this can be done in a script by specifying each individual file but would like to know if it can be done on one line and made an alias.
I have the... (5 Replies)
Hi guys,
I'm fidling around Partition space on SMC
and on changing partition size, or assiging an unused partition to "usr", or even trying to alter the disk layout I get:
Attempted Format of Partition /dev/dsk/c1t0d0s3 failed with unexpected CIM error:
CIM_ERR_FAILED:CIM_ERR_FAILED:... (2 Replies)
Hi all, below is my current scriptftp -n << FTPCTRL
open $my_ip
user $my_user $my_pass
ascii
prompt off
lcd $myDIR
cd $ftp_cd
$OPS $myfile
FTPCTRLI'd like to amend it to sftp mode. Please advise the correct step.I consulted the man pages of sftp and I suppose I should be using the... (1 Reply)
Hi,
Please could someone advise on the following if possible. I have built a unix server, and was given the wrong hostname. I need to amend the hostname to the correct name. And I don't want to rebuild the server again.
I've tried the following to do change :
hostname DTCT-TD3FIXI01A... (3 Replies)
2009/03/30 08:11:34.553 DFP
2009/03/30 08:11:36.861 PLO
I want it to be
2009/03/30 09:11:34.553 DFP
2009/03/30 09:11:36.861 PLO
and
2009/03/30 23:11:34.553 DFP
2009/03/30 23:11:36.861 PLO
to be
2009/03/30 00:11:34.553 DFP
2009/03/30 00:11:36.861 PLO
Can we use sed or... (4 Replies)
Hi All
I want to change the date timestamp for the log file but to do it within crontab
I've tried the following..
40 11 * * * /data/dart/dc65.1/bin/adstats.sh > /data/dart/dc65.1/bin/adstats_`date'+%d:%m-%H.%M.%S'`.log 2>&1
But I only get adstats_
Any ideas?
Thanking you all... (4 Replies)
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Discussion started by: srkmish
12 Replies
LEARN ABOUT SUSE
xzdiff
XZDIFF(1) XZ Utils XZDIFF(1)NAME
xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files
SYNOPSIS
xzcmp [cmp_options] file1 [file2]
xzdiff [diff_options] file1 [file2]
lzcmp [cmp_options] file1 [file2]
lzdiff [diff_options] file1 [file2]
DESCRIPTION
xzcmp and xdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options specified are passed
directly to cmp or diff. If only one file is specified, then the files compared are file1 (which must have a suffix of a supported com-
pression format) and file1 from which the compression format suffix has been stripped. If two files are specified, then they are uncom-
pressed if necessary and fed to cmp(1) or diff(1). The exit status from cmp or diff is preserved.
The names lzcmp and lzdiff are provided for backward compatibility with LZMA Utils.
SEE ALSO cmp(1), diff(1), xz(1), gzip(1), bzip2(1), zdiff(1)BUGS
Messages from the cmp(1) or diff(1) programs refer to temporary filenames instead of those specified.
Tukaani 2009-07-05 XZDIFF(1)