12-14-2006
either rsync as mentioned or the find-command with the "-mtime" clause. man find for details.
bakunin
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 SUNOS
volcopy_ufs
volcopy_ufs(1M) System Administration Commands volcopy_ufs(1M)
NAME
volcopy_ufs - make an image copy of a ufs file system
SYNOPSIS
volcopy [ -F ufs] [generic_options] fsname srcdevice volname1 destdevice volname2
DESCRIPTION
volcopy makes a literal copy of the ufs file system using a blocksize matched to the device.
OPTIONS
The following option is supported:
generic_options options supported by the generic volcopy command. See volcopy(1M).
OPERANDS
The following operands are supported:
fsname represents the mount point (for example, root, u1, etc.) of the file system being copied.
srcdevice or destdevice the disk partition specified using the raw device (for example, /dev/rdsk/cld0s8, /dev/rdsk/cld1s8, etc.).
srcdevice and volname1 the device and physical volume from which the copy of the file system is being extracted.
destdevice and volname2 the target device and physical volume.
fsname and volname are limited to six or fewer characters and recorded in the superblock. volname may be `-' to use the existing volume
name.
EXIT STATUS
The following exit values are returned:
0 Successful file system copy.
non-zero An error has occurred.
FILES
/var/adm/filesave.log a record of file systems/volumes copied
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
cpio(1), dd(1M), labelit(1M), volcopy(1M), attributes(5), ufs(7FS)
NOTES
volcopy does not support copying to tape devices. Use dd(1M) for copying to and from tape devices.
SunOS 5.10 15 Apr 2003 volcopy_ufs(1M)