I've searched about a bit and more than likely, I'm not entering the correct search phrase, but my question is as follows:
When a user does an 'ls' (and whatever various flags needed) and in the results, we see duplicate or backup files from editing. IE:
file1.txt
file1.txt~
Is there a... (3 Replies)
Hi!
I want to find duplicate files (criteria: file size) in my download folder.
I try it like this:
find /Users/frodo/Downloads \! -type d -exec du {} \; | sort > /Users/frodo/Desktop/duplicates_1.txt;
cut -f 1 /Users/frodo/Desktop/duplicates_1.txt | uniq -d | grep -hif -... (9 Replies)
Hi !
I wonder if anyone can help on this : I have a directory: /xyz that has the following files:
chsLog.107.20130603.gz
chsLog.115.20130603
chsLog.111.20130603.gz
chsLog.107.20130603
chsLog.115.20130603.gz
As you ca see there are two files that are the same but only with a minor... (10 Replies)
Hi champs,
I have one of the requirement, where I need to compare two files line by line and ignore duplicates. Note, I hav files in sorted order.
I have tried using the comm command, but its not working for my scenario.
Input file1
srv1..development..employee..empname,empid,empdesg... (1 Reply)
I am so frustrated!!!
I want a nice command that clears away duplicate files:
find . -type f -regex '.*{1,3}\..*' | xargs -I## rm -v '##'
should work in my opinion. But it finds nothing even though I have files that have the file name:
Scooby-Doo-1.txt
Himalaya-2.jpg
Camping... (8 Replies)
I have tried the following code and with that i couldnt achieve what i want.
#!/usr/bin/bash
find ./ -type f \( -iname "*.xml" \) | sort -n > fileList
sed -i '/\.\/fileList/d' fileList
NAMEOFTHISFILE=$(echo $0|sed -e 's/\/()$*.^|/\\&/g')
sed -i "/$NAMEOFTHISFILE/d"... (2 Replies)
Discussion started by: gold2k8
2 Replies
LEARN ABOUT HPUX
vxconfigbackupd
vxconfigbackupd(1M)vxconfigbackupd(1M)NAME
vxconfigbackupd - disk group configuration backup daemon
SYNOPSIS
vxconfigbackupd [-l]
DESCRIPTION
The vxconfigbackupd daemon automatically backs up information about a disk group's new configuration whenever the configuration is changed.
OPTIONS -l Logs backup daemon activities to the file /etc/vx/cbr/bkdaemonLog.
FILES
/sbin/init.d/vxvm-recover
Startup file for vxconfigbackupd.
/etc/vx/cbr/bk/dgname.dgid/dgid.dginfo
Location of backup file for disk group information.
/etc/vx/cbr/bk/dgname.dgid/dgid.diskinfo
Location of backup file for disk attributes.
/etc/vx/cbr/bk/dgname.dgid/dgid.binconfig
Location of backup file for binary configuration copy.
/etc/vx/cbr/bk/dgname.dgid/dgid.cfgrec
Location of backup file for configuration records in vxprint -m format.
NOTES
The vxconfigbackup command can be used to back up a disk group's configuration manually at any desired time.
The disk group configuration backup and restore utilities do not save any data in the public region. This includes file system or other
application data that is configured within VxVM objects.
When a disk group is destroyed, its configuration backup information (including the backup directory) is also removed. The only exception
to this behavior is when the disk group is in the precommit state of restoration.
The backup directory should be large enough to accommodate copies of all the currently imported disk groups. The minimum recommended size
of the backup directory is P * (N + 1) megabytes, where P is the private region in megabytes (by default, 32MB), and N is the number of
disk groups. The additional P megabytes is required to hold a temporary copy of the disk group configuration when a disk group is imported
or a configuration change is made.
The default backup directory is /etc/vx/cbr/bk. The location of the backup directory can be configured by using the vxconfigbackup -l
backup_directory_path command.
SEE ALSO vxconfigbackup(1M), vxconfigrestore(1M)VxVM 5.0.31.1 24 Mar 2008 vxconfigbackupd(1M)