05-07-2014
Look into -mmin as well, and -daystart if available on your system.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I need to write a script to list files in a directory created within specific date and time for eg list files created between Apr 25 2007 11:00 to Apr 26 2007 18:00. and then i have to count them
Any suggestions pls ? (3 Replies)
Discussion started by: jazjit
3 Replies
2. Filesystems, Disks and Memory
Hi,
Would like to ask, which command is used to list all the files for specific date (says 1st May) and its size, for all files (including its subdirectory), in a mounted NFS disk to HP-UX.
I would like to check for the total files came into my disk on 1st May.
Very much appreciating your... (2 Replies)
Discussion started by: Draculla
2 Replies
3. Shell Programming and Scripting
There is a system logging a huge amount of data and we need to delete some of the older logs .I mean the files that are created before one week from today. Here is a listing of files that are sitting there:
/usr/WebSphere/AppServer/logs
# ls -l
-rw-r--r-- 1 root system 3740694 May... (5 Replies)
Discussion started by: moustafashawky
5 Replies
4. Shell Programming and Scripting
Hi Guys,
My unix is SunOS. I like to find all the files which are created 1 day back.
i tried the following command
find . -type f -name '*.aud' -mtime +1
This gives me all the files created 48 hours back (2 days) but not one..
Can you let me know where i am going wrong.
Thanks,... (8 Replies)
Discussion started by: mac4rfree
8 Replies
5. Shell Programming and Scripting
I wan to view files in a directory of a specific date. For example a log directory has log files . I want to view the list of the files which were generated on 01-May-2011.
Is there any option/proces to perform it?? (1 Reply)
Discussion started by: mady135
1 Replies
6. Shell Programming and Scripting
I'm looking for a script which outputs the list of directories and sub directories from root level consisting of specific files. For instance I want shell script to list all the directories and subdirectories containing .txt files.:wall: (4 Replies)
Discussion started by: super210
4 Replies
7. UNIX for Dummies Questions & Answers
I am running Ubuntu 11.10
I have the following files.
geo2503r05690585.html
geo2503r06020612.html
geo2503r06250641.html
geo2503r06490658.html
geo2503r06830686.html
geo2503r05860601.html
geo2503r06130624.html
geo2503r06420648.html
geo2503r06590682.html ... (4 Replies)
Discussion started by: kristinu
4 Replies
8. Shell Programming and Scripting
Hi,
I want to display latest files (created or modified) recursively in a path.
I tried in different ways, but didn't get any desired output:
find $path -type f -exec ls -lt {} \; | sort -n -r
find $path -type f -printf %p";" | xargs -d ";" ls -t
Second one is giving the error:... (21 Replies)
Discussion started by: karumudi7
21 Replies
9. Shell Programming and Scripting
Hello Gurus,
I am facing one issue to get a file for a specific time. There are about 300 files created between 6.30 pm to 7.15 pm everyday.
Now I wanted only the file which is created on 6.45pm. No other files required.
I have used "find" command to get the files, but not getting the expected... (3 Replies)
Discussion started by: pokhraj_d
3 Replies
10. UNIX for Beginners Questions & Answers
I have more than 200K files created in year 2017 under directory having size of 50GB.
I want to all these files in one shot.
Is there any faster option available with find command to delete all these file ? (6 Replies)
Discussion started by: sp23029
6 Replies
LEARN ABOUT HPUX
fsadm_hfs
fsadm_hfs(1M) fsadm_hfs(1M)
NAME
fsadm_hfs: fsadm - HFS file system administration command
SYNOPSIS
specific_options] special
DESCRIPTION
The command is designed to perform selected administration tasks on HFS file systems. special is a device file containing an unmounted
file system.
Only a superuser can invoke
Options
Specify the HFS file system type.
Specify a list of comma separated
suboptions and/or keyword/attribute pairs from the list below. The following specific_options are valid on HFS file sys-
tems.
Converts a file system to a file system. The file system should be unmounted and must be in a clean state (see
fsck(1M)). A file system supports file sizes greater than 2 gigabytes.
Converts a file system to a file system. The file system should be umounted and must be in a clean state (see
fsck(1M)). All should be purged from the file system for the conversion to succeed.
Echo the completed command line,
but perform no other action. The command line is generated by incorporating the user-specified options and other informa-
tion derived from This option allows the user to verify the command line.
DIAGNOSTICS
Error and warning messages may originate from and See fsadm(1M) or fsck(1M) to interpret the error and warning messages.
EXAMPLES
Convert a HFS file system to a HFS file system:
Convert a HFS file system to a file system:
Display relevant HFS file system statistics:
WARNINGS
The size of a file system will impact the performance of the command.
During conversion from largefiles file system to a nolargefiles file system scans the entire file system for a large file. This functional-
ity degrades the performance of the command.
FILES
Static information about the systems
SEE ALSO
fsadm(1M), fsadm_vxfs(1M), fsck(1M), fstab(4), fs_wrapper(5).
fsadm_hfs(1M)