Sponsored Content
Top Forums Shell Programming and Scripting Identifying New and Modified Files/Directories Post 302224162 by jim mcnamara on Tuesday 12th of August 2008 10:44:47 AM
Old 08-12-2008
Code:
touch -t 20080805120000 dummy  # aug 5 2008 12:00 NOON
find /path/to/files -newer dummy

change the date to suit your needs.
 

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
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)
All times are GMT -4. The time now is 06:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy