Sponsored Content
Top Forums Shell Programming and Scripting Identifying New and Modified Files/Directories Post 302224160 by buechler66 on Tuesday 12th of August 2008 10:39:41 AM
Old 08-12-2008
Identifying New and Modified Files/Directories

Hi. Our shop is migrating to a new UNIX server and our hope is to do a full migration of all files to the new server weeks in advance of the final migration. As a result we want to identify files on our SOLARIS 8 UNIX server that have changed or that were created after a specific date & time parameter.

Can anyone point me to an example of such a script that we could modify for use on our system?

Also- Can anyone point me to third-party software that might identify such files on our system?

Thanks in advance for your help.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help identifying empty directories

Is there a way you can identify directories that are empty? I do not need to remove them, I just need to identify them below a cetain path. I have tried the following already and it returned everything for some reason. #!/bin/sh && set -- . find "$@" -type d -depth -print > dir.txt |... (2 Replies)
Discussion started by: dboard
2 Replies

2. Shell Programming and Scripting

Last modified file in 2 or more directories

Hi, Is there any simple way to get the last modified file in a set of 2 or more directories? This should return one file only (not 1 file per directory) Thanks for your help (4 Replies)
Discussion started by: m69w
4 Replies

3. UNIX for Dummies Questions & Answers

Find most recently modified directories

How do I do it? Simple answers preferred... using BASH.. the less code the better. I want to find out where Indesign is caching PDF tmp data ... I figure this is a good way to do it.. either way i wanna know how to do it. (2 Replies)
Discussion started by: glev2005
2 Replies

4. Shell Programming and Scripting

Comparing the modified dates of files in two directories

Hi Is it possible to compare the modified dates of all the files in two directories using shell script? I would like to take a backup of a directory in production server regularly. Instead of copying all the files in the directory, is it possible to list only the files that are... (2 Replies)
Discussion started by: ashok.k
2 Replies

5. UNIX for Dummies Questions & Answers

Moving Directories Based on Modified date

Hi, How can I move directories (and all sub directories/files) from one directory to another based on the modified date of the directory? Currently the existing structure looks like this: /public_html/media/videos/tmb/34947/image1.jpg /public_html/media/videos/tmb/34947/image2.jpg ... (0 Replies)
Discussion started by: lbargers
0 Replies

6. Shell Programming and Scripting

Bash to monitor Modified Files/Directories

Hi All , I have a directory called "/usr/local/apache/docs/" inside this docs i have below directories , bash-2.05# pwd /usr/local/apache/docs/ bash-2.05#ls -l | less 2 drw-r-xr-x 3 root root 512 Aug 8 2010 Form1 2 drw-r-xr-x 3 root other 512 Mar 8 ... (4 Replies)
Discussion started by: gnanasekar_beem
4 Replies

7. Shell Programming and Scripting

The -f switch is not identifying files[solved]

(1 Reply)
Discussion started by: lowExpectations
1 Replies

8. Shell Programming and Scripting

Help with finding the latest modified version of a file within directories

I am trying to look into multiple directories and pluck out the latest version of a specific file, regardless of where it sits within the directory structure. Ex: The file is a .xls file and could have a depth within the directory of anywhere from 1-5 Working directory - Folder1... (6 Replies)
Discussion started by: co21ss
6 Replies

9. Shell Programming and Scripting

Identifying .log files

Hi. Is there a way to: 1) produce a listing of .log files 2) older than 5 years of age 3) that includes the full path and filename together with one file per line Any help producing such a script would be very helpful. Thanks. (7 Replies)
Discussion started by: buechler66
7 Replies
ipsec_migrate(1M)														 ipsec_migrate(1M)

NAME
ipsec_migrate - HP-UX IPSec configuration file migration tool SYNOPSIS
DESCRIPTION
is a utility for migrating HP-UX IPSec configuration files to the current version. The utility stores backup copies of the following files in the directory before converting them: If the certificate data files and exist on the system, prompts for the HP-UX IPSec password and uses the password to decrypt the certifi- cate data files. The utility then converts and stores the certificate data in new files under the directory. requires the optional HP-UX IPSec software. Migrating HP-UX IPSec version A.02.01 to version A.03.00 The utility performs the following tasks when migrating configuration data from HP-UX IPSec version A.02.01 to version A.03.00: o Converts policies to policy objects. The utility ignores the IKE authentication value in policies. IKEv1 policies do not include a value for the IKE authentica- tion method. The IKE authentication method is specified in authentication records using the and arguments. The converts the value to a value for perfect forward secrecy IKEv1 policies do not include a value for maximum quick modes. If the value is 1, creates an policy with If the value is greater than 1, creates an IKEv1 policy with Note: Do not enable IKEv1 PFS with a system using an HP-UX IPSec release prior to A.03.00. The converts values in the hash field to IKE DES encryption is obsolete. o Adds a priority value to authentication records. The utility sorts existing authentication records using the address prefix length (longest to shortest). The migration utility sets the priority for the first record to the value of the priority parameter value in the AuthPolicy-Defaults section of the HP-UX IPSec profile file; the default priority value is 10. The utility increments the priority value for each subsequent record by the priority value. o Replaces DES transforms and nested transforms in host and tunnel policies with the default actions in the file. For host poli- cies, the default action is For tunnel policies, the default action is the transform. o If the and files exist, the extracts and converts the private key, local certificate, and CA certificate from these files and stores them in new files under the directory. o If the file exists, creates a softlink to the file. The file is a script that retrieves the CRL from an LDAP directory and can be executed from a cron job. RETURN VALUE
Upon successful completion, returns 0; otherwise it returns 1. ERRORS
fails if any of the following conditions is encountered: o Command used incorrectly - Usage message is returned. o The user is not the superuser. o The file specified in the option does not exist. o The file specified in the option is not a regular file. o The file specified in the option is not readable. o The file specified in the option is not an valid configuration file. o The file specified in the option exists. o The file is missing or corrupted. o Based on the information in cannot build a valid set of transformations to transform the file specified in the option to the file specified in the option. WARNINGS
requires the optional HP-UX IPSec software. AUTHOR
was developed by HP. FILES
SEE ALSO ipsec_config(1M), ipsec_config_add(1M), ipsec_config_batch(1M), ipsec_config_delete(1M), ipsec_config_export(1M), ipsec_con- fig_show(1M), ipsec_policy(1M), ipsec_report(1M). HP-UX IPSec Software Required ipsec_migrate(1M)
All times are GMT -4. The time now is 01:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy