07-05-2005
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I tarred a directory from a linux server to a solaris server. When I do a du -s -k on the directory, I get almost 150k difference in the file sizes. If I do a ls | wc -l, it is the same. If I look at the size of the individual files, it is the same.
I did an ls on the 2 directories and... (6 Replies)
Discussion started by: csgonan
6 Replies
2. Shell Programming and Scripting
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Discussion started by: krishmaths
4 Replies
3. HP-UX
I am trying to copy a filesystem from one server to another using rsync over the WAN. As far as I can tell, the two filesystems are identical but for some reason I cannot copy the last file because I keep running out of space.
SERVER 1:
mkfs -m <lvol>
mkfs -F vxfs -o... (1 Reply)
Discussion started by: keelba
1 Replies
4. Shell Programming and Scripting
Hi All,
I am having hard time in getting two almost identical rows into one, I know how to do if starting word is unique, anyhow this is my problem
Input File:
issue1 5167
dum 1 1 kkk 7888
dum 2 1 ffff 7888
dum 2 2 llll 7888
dum 3 1 eee 7888
issue2 7667
dum 2 1 jjjj 8999
dum 2 2 jjjj... (3 Replies)
Discussion started by: ricky315
3 Replies
5. Solaris
I've been testing mirroring root partitions for the past few days within a virtual environment and on an old ML350. However, the live system that this is practice for has two disks, and they're non-identical.
I've done a bit of searching through the forum and see that a lot of people recommend... (2 Replies)
Discussion started by: lm69a
2 Replies
6. UNIX for Dummies Questions & Answers
I have a file that looks like this 10 user1s, 5 user2s and 10 users3.
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.1 user1
10.10.1.2 user2
10.10.1.2 user2
10.10.1.2 user2... (7 Replies)
Discussion started by: lawsongeek
7 Replies
7. Shell Programming and Scripting
Hi all,
Could someone help me with the following issue:
1st
I have an CSV file delimiter is ";" I I have a column 7 where I need to do some multiple mathem. operation, I need all values in this columns to be multiplied by 1.5 and create a new CSV file with the replaced values.
2nd.
I... (3 Replies)
Discussion started by: kl1ngac1k
3 Replies
8. Shell Programming and Scripting
Hi,
I am new to shell scripting.Please help me on this.I am using solaris 10 OS and shell i am using is
# echo $0
-sh
My requirement is i have source file say makefile.I need to extract files with extensions (.c |.cxx |.h |.hxx |.sc) from the makefile.after doing so i need to check whether... (13 Replies)
Discussion started by: muraliinfy04
13 Replies
9. Shell Programming and Scripting
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
10. Shell Programming and Scripting
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies
LEARN ABOUT DEBIAN
backup-manager-purge
BACKUP-MANAGER-PURGE(8) backup-manager-purge BACKUP-MANAGER-PURGE(8)
NAME
backup-manager-purge - backup-manager's wrapper for outdating files
SYNOPSIS
backup-manager-purge [TTL] <options>
DESCRIPTION
backup-manager-purge is the only authorized entity that can say if an archive should be purged or not. Any tasks used by backup-manager may
have to know if an archive is deprecated (eg: the purging phase of an upload method). This tool is here to fulfill that need.
Given a time to live (TTL) and a list of archives, backup-manager-purge will return another list of archives, corresponding to the ones
that are outdated by the TTL.
REQUIRED ARGS
--ttl=time-to-live
Specify the time to live (in days) for the archives. Any archive that is older than ttl days will be outdated.
OPTIONAL ARGS
--files-from=file
A file containing a list of archives to parse, one archive per line. If this option is not used, STDIN will be used for catching the
files to parse.
RETURN
backup-manager-purge will return the list of outdated files on STDOUT, one file per line.
ERROR CODES
If an error occurs, it will print the error message on stderr and will exit with an error code greater than 0.
Here are the possible error codes:
bad command line (wrong arguments) : 10
internal error (should be reported as a bug) : 20
SEE ALSO
backup-manager(8) backup-manager-upload(8)
AUTHORS
Concept and design by Alexis Sukrieh and Jan Metzger.
perl v5.14.2 2012-05-09 BACKUP-MANAGER-PURGE(8)