12-13-2006
rsync may suit your needs.
Last edited by cbkihong; 12-13-2006 at 11:35 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to compare two flat files (yesterday & today's data) and get only the changed data from flat files. In flat file i dont have data column or anything its just a string data in flat file.Can any one please let me know the script
With Regds
Shashi (3 Replies)
Discussion started by: jtshashidhar
3 Replies
2. Shell Programming and Scripting
I have been toying around with a script that will copy all files altered in a development directory over to a testing directory and have been trying to construct the command to meet my needs.
Basically I am using find in a directory to see what files have changed over the past 24 hours. Then if... (4 Replies)
Discussion started by: scotbuff
4 Replies
3. Shell Programming and Scripting
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Discussion started by: bkeep
4 Replies
4. AIX
I am trying to write a script to ftp all files/directories changed in a 24hour period to another AIX server. I have wrote a script to generate a list of all files changed within a 24 hour period but dont know how to then ftp these to another server. How do incorporate ftp into this script?
... (2 Replies)
Discussion started by: RApds
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Can you guys tell me how do i find the most recently changed files, say an hour before, few hours before, a day before etc....
Thanks!!!! (3 Replies)
Discussion started by: raghu_shekar
3 Replies
6. Shell Programming and Scripting
Hi
We have a shell script to find a string in a large set of files and replace it using the sed command.in the same time we also want to store the list of files it checked.
***
The existing script is as below
#!/bin/bash
#1
_r1="inst_group=ems7770"
_r2="inst_group=dba"
# Escape path... (4 Replies)
Discussion started by: sabkan
4 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
I know that find / -type f -mtime -1 will show all modified files that changed 24hrs preceeding the time i run the command. This will include list of files that changed today.
How do i find only files that changed yesterday staring from 00:00hrs to 23:59?
Thanks
HG (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
I have built up my own little "cloud" for my family as the amount of computers grows all day. By now we use 3 smartphones, 2 notebooks und 4 PCs, so this "home cloud" was made to store all personal data (photos, documents,...) and do a backup once in a while. It is running on a Ubuntu... (1 Reply)
Discussion started by: SebSnake
1 Replies
9. Web Development
Hello,
please when an VPS IP is changed which files on VPS i need to edit?
I mean basic apache, named files, which needs to be edited?
so far i listen its /var/named and domain zone file which contains old ip.. (2 Replies)
Discussion started by: postcd
2 Replies
10. Shell Programming and Scripting
Hi,
I am using Sun Solaris - SunOS. I have two fixed width files shown below. I am trying to find the changes in the records in the Newfile.txt for the records where the key column matches. The first column is a key column (example: A123).
If there are any new or deletion of records in the... (4 Replies)
Discussion started by: Saanvi1
4 Replies
LEARN ABOUT CENTOS
crm_shadow
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_shadow (query|command) [modifiers]
DESCRIPTION
crm_shadow - Perform configuration changes in a sandbox before updating the live cluster.
Sets up an environment in which configuration tools (cibadmin, crm_resource, etc) work offline instead of against a live cluster, allowing
changes to be previewed and tested for side-effects.
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
Queries:
-w, --which
Indicate the active shadow copy
-p, --display
Display the contents of the active shadow copy
-E, --edit
Edit the contents of the active shadow copy with your favorite $EDITOR
-d, --diff
Display the changes in the active shadow copy
-F, --file
Display the location of the active shadow copy file
Commands:
-c, --create=value
Create the named shadow copy of the active cluster configuration
-e, --create-empty=value
Create the named shadow copy with an empty cluster configuration
-C, --commit=value
Upload the contents of the named shadow copy to the cluster
-D, --delete=value
Delete the contents of the named shadow copy
-r, --reset=value
Recreate the named shadow copy from the active cluster configuration
-s, --switch=value
(Advanced) Switch to the named shadow copy
Additional Options:
-f, --force
(Advanced) Force the action to be performed
-b, --batch
(Advanced) Don't spawn a new shell
-a, --all
(Advanced) Upload the entire CIB, including status, with --commit
EXAMPLES
Create a blank shadow configuration:
# crm_shadow --create-empty myShadow
Create a shadow configuration from the running cluster:
# crm_shadow --create myShadow
Display the current shadow configuration:
# crm_shadow --display
Discard the current shadow configuration (named myShadow):
# crm_shadow --delete myShadow
Upload the current shadow configuration (named myShadow) to the running cluster:
# crm_shadow --commit myShadow
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.10-29.el7 June 2014 PACEMAKER(8)