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
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
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
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
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
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
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
(1 Reply)
Discussion started by: lowExpectations
1 Replies
8. Shell Programming and Scripting
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
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
LEARN ABOUT DEBIAN
memccp
MEMCP(1) libmemcached MEMCP(1)
NAME
memcp - libmemcached Documentation
Copies files to a collection of memcached servers
SYNOPSIS
memcp [options] [file] [server]
DESCRIPTION
memcp copies one or more files into memcached(1) servers. It is similar to the standard UNIX cp(1) command.
The key names will be the names of the files, without any directory path.
OPTIONS
You can specify servers via the option:
--servers
or via the environment variable:
`MEMCACHED_SERVERS`
If you do not specify either these, the final value in the command line list is the name of a server(s).
For a full list of operations run the tool with the option:
--help
HOME
To find out more information please check: http://libmemcached.org/
AUTHOR
Brian Aker, <brian@tangent.org>
Mark Atwood, <mark@fallenpegasus.com>
SEE ALSO
memcached(1) libmemcached(3)
AUTHOR
Brian Aker
COPYRIGHT
2011, Brian Aker DataDifferential, http://datadifferential.com/
1.0.8 May 22, 2012 MEMCP(1)