Sponsored Content
Full Discussion: Find last 2 days files.
Top Forums Shell Programming and Scripting Find last 2 days files. Post 302473228 by saluja.deepak on Friday 19th of November 2010 08:45:50 AM
Old 11-19-2010
its done thanks.

Last edited by saluja.deepak; 11-19-2010 at 09:52 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find files older than 20 days & not use find

I need to find files that have the ending of .out and that are older than 20 days. However, I cannot use find as I do not want to search in the directories that are underneath the directory that I am searching in. How can this be done?? Find returns files that I do not want. (2 Replies)
Discussion started by: halo98
2 Replies

2. Shell Programming and Scripting

find files from the past 7 days

Hi All, I have a file which contains the listing of another directory: >cat list.dat -rwxr-xr-x 1 test staff 10240 Oct 02 06:53 test.txtdd -rwxrwxrwx 1 test staff 0 Oct 04 07:22 test.txx -rwxrwxrwx 1 test staff 132 Sep 16 2007 test_tt.sh... (6 Replies)
Discussion started by: deepakgang
6 Replies

3. Red Hat

Find files older than 30 days in directories and delete them

Hi, I have dummies questions: My script here can find the files in any directories older than 30 days then it will delete the files but not the directories. I would like to also be able to delete the directories that hold old files more than 30 days not just the files itself. find . -type f... (2 Replies)
Discussion started by: lamoul
2 Replies

4. Shell Programming and Scripting

How to find files older than 30 days

Dear Friends, I have two queries. 1) I want to see the list of folders which were created 29 days ago. 2) I want to see the folders in which last created file is older than 29 days. Can it be done? Thank you in advance Anushree (4 Replies)
Discussion started by: anushree.a
4 Replies

5. UNIX Desktop Questions & Answers

Find files older than 10 days

What command arguments I can use in unix to list files older than 10 days in my current directory, but I don't want to list the hidden files. find . -type f -mtime +15 -print will work but, it is listing all the hidden files., which I don't want. (4 Replies)
Discussion started by: Pouchie1
4 Replies

6. UNIX for Dummies Questions & Answers

How to find files created some days before?

HI, I have 2 questions. 1> Is there any code to see files that created some day or some time before in a directory??? 2> how or where i will find the last exit status of a process?? thanks (6 Replies)
Discussion started by: jyotidas
6 Replies

7. UNIX for Dummies Questions & Answers

Find files newer than x days

We had an arrant rsync run and started copying over new files from one system to another. Although this is what we will want to do at some point, for now, we want to maintain the system as it was a few days ago. I am looking for a script that will find files that are newer than x days. ... (5 Replies)
Discussion started by: Leyva62
5 Replies

8. Shell Programming and Scripting

what is the find to command to find the files created last 30 days

what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies

9. UNIX for Advanced & Expert Users

find files older than 30 days old

Hello, I have a script which finds files in a directory that are older than 30 days and remove them. The problem is that these files are too many and when i run this command: find * -mtime +30 | xargs rm I run this command inside the directory and it returns the error: /usr/bin/find:... (8 Replies)
Discussion started by: omonoiatis9
8 Replies

10. Shell Programming and Scripting

Find the sum of files created 5 days before

Hi, I want to find the sum of all the files created 5 days ago and store it in a variable. (os is HP-UX) can this be extracted from ls -l Is there any other way of getting the sum of all the files created (4 Replies)
Discussion started by: bang_dba
4 Replies
ff_hfs(1M)																ff_hfs(1M)

NAME
ff_hfs: ff - list file names and statistics for HFS file system SYNOPSIS
num] num] inode-list] num] file] prefix] special ... DESCRIPTION
The command reads the i-list and directories of each special file special, assuming it to be an HFS file system, saving i-node data for files that match the selection criteria. Output consists of the path name for each saved i-node, plus any other file information requested using the print options below. Output fields are positional. The output is produced in i-node order; fields are separated by tabs. The default line produced by contains the path name and i-number fields. With all options specified, the output fields include path name, i- number, size, and user ID. The num parameter in the options descriptions is a decimal number, where means more than num, means less than num, and num means exactly num. A day is defined as a 24-hour period. lists only a single path name out of many possible ones for an i-node with more than one link, unless you specify the option. With applies no selection criteria to the names listed. All possible names for every linked file on the file system are included in the output. On very large file systems, memory may run out before completes execution. Options and Arguments recognizes the following options and arguments: Select a file if the i-node has been accessed in num days. Select a file if the i-node has been changed in num days. Specify the HFS file system type. Generate names for any i-node specified in the inode-list. Do not display the i-node number after each path name. Generate a list of all path names for files with more than one link. Select a file associated with an i-node if it has been modified in num days. Select a file associated with an i-node if it has been modified more recently than the specified file. Add the specified prefix to each path name. The default prefix is (dot). Write the file size, in bytes, after each path name. Write the owner's login name after each path name. Echo the completed command line, but performs no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. EXAMPLES
List the path names and i-numbers of all files in the file system Same as above, but suppress the printing of i-numbers: List files on the same file system that have been modified recently, displaying the path name, i-number, and owner's user name (the option). List only files that have been modified within the last two days (the option): List all files on the same file system, including the path name and i-number of each file, that was last accessed more than 30 days ago Find all path names associated with i-nodes and (the option): Execute the command on an HFS file system FILES
Static information about the file systems. SEE ALSO
find(1), ff(1M), ff_vxfs(1M), ncheck(1M), fstab(4). ff_hfs(1M)
All times are GMT -4. The time now is 12:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy