Hi,
Can someone please help me with this.
Actually i want to move files from one directory to another directory , But I just want to move files of a specific data range.
For ex:
This is my directory which contains all fine.
/home/Rooh
Then there is a long listing of files.
suppose this... (3 Replies)
hi all,
I'm trying to do a cp only on files I created on a given day or within a certain date range.
What's the best way to do this?
Cheers,
KL (1 Reply)
Hi,
I am trying to do the following:
grep -l <pattern> <files to be searched for>
In <files to be searched for> , all files should of some specific date like "Apr 8" not all files in current directory. I just to search within files Apr 8 files so that it won't search in entire list of... (2 Replies)
Hi,
Currently I am working on a script to automate the process of converting the log file from binary into text format. To achieve this, partly I am depending on my application’s utility for this conversion and the rest I am relying on shell commands to search for directory, locate the file and... (5 Replies)
Hello I would like to ask for help with a script to search a directory that contains many log files and based on a users input after being prompted, they enter a date range down to the hour which searches the files that contain that range.
I dont know how to go about this. I am hoping that the... (5 Replies)
Hi,
I want to remove trace files in a particular directory for a specific date range. Currently i can remove based on time (e.g find /path/*.trm -mtime +1000 -exec rm {} \;). But i want to remove .trm files within a date range. E.g to remove .trm files between jan 1 2002 to April 15 2005.
... (3 Replies)
Dear Friends,
I have HP_ux 11.31 and want to delete some unwanted very old log files between two date range.
Please help in the matter.
Regards,
Bhagawati Pandey (6 Replies)
Hi
i am looking to expand a command i am using to find files in a large file system.
i am currently using
find /raid/JOBFLOW_LOCKED/ -type f -size +3G | -exec mv {} /raid/JOBFLOW_LOCKED/KILL \;
This works really well but i would like to add a date range to the same command to refine it... (6 Replies)
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Hi,
I am Searching for Multiple strings in a given date range and print the Group if they exists. the below is the format:
-------------------------------------------------------------------------------------------------------------------------
ID: FIRST ID
MESSAGE: Event Message... (5 Replies)
Discussion started by: linuxuser999
5 Replies
LEARN ABOUT HPUX
ff_hfs
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)