05-04-2007
hi,
thanks for the help. i get my desire output with
touch -mt 200705010000 /tmp/May-1-2007
touch -mt 200705020000 /tmp/May-2-2007
find . -type f \( -newer /tmp/May-1-2007 -a ! -newer /tmp/May-2-2007 \) | xargs ls -l > output.log
10 More Discussions You Might Find Interesting
1. Solaris
Hi all,
thanks in advance for reading and anyposts...
I was wondering if its possible to find all files in a directory with a specific date.
I know I can do:
but that will only give a list of files greater than todays date... Any ideas?
Thanks,
Marky Mark... (4 Replies)
Discussion started by: B14speedfreak
4 Replies
2. 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
3. Solaris
Can you please let me know the command to list the files that are created before some date, this we want to use for the following
Eg: Move all the files that got created before 2006 to new folder in Solaris (3 Replies)
Discussion started by: csreenivas
3 Replies
4. UNIX for Dummies Questions & Answers
I am working on a script that prompts a user name and creates a list in a username.dat file. Furthermore, I have created a sorted_username.dat file. My question is this: My script uses the word "finished" != finished to break the while loop. How can I avoid having the word "finished" show up in... (5 Replies)
Discussion started by: erest8
5 Replies
5. 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
6. UNIX for Dummies Questions & Answers
A newbie question...
I need to get a list of the Files and folders which are greater then a specific date. I want write the output to a Text file.
What I know ls -lrt gives me list of all the files ordered by date. Also ls > fileName will write the results to a text file.
Please help (6 Replies)
Discussion started by: rkaif
6 Replies
7. Shell Programming and Scripting
Hi,
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
8. UNIX for Dummies Questions & Answers
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)
Discussion started by: yuvaa27
1 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. Shell Programming and Scripting
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
LEARN ABOUT DEBIAN
gfs2_jadd
gfs2_jadd(8) System Manager's Manual gfs2_jadd(8)
NAME
gfs2_jadd - Add journals to a GFS2 filesystem
SYNOPSIS
gfs2_jadd [OPTION]... <DEVICE|MOINTPOINT>...
DESCRIPTION
gfs2_jadd is used to add journals (and a few other per-node files) to a GFS2 filesystem. When this operation is complete, the journal
index is updated so that machines mounting the filesystem at a later date will see the newly created journals in addition to the journals
already there. Machines which are already running in the cluster are unaffected.
You may only run gfs2_jadd on a mounted filesystem, addition of journals to unmounted filesystems is not supported. You only need to run
gfs2_jadd on one node in the cluster. All the other nodes will see the expansion has occurred when required.
You must be superuser to execute gfs2_jadd. The gfs2_jadd tool tries to prevent you from corrupting your filesystem by checking as many of
the likely problems as it can. When growing a filesystem, only the last step of updating the journal index affects the currently mounted
filesystem and so failure part way through the expansion process should leave your filesystem in its original state.
OPTIONS
-c MegaBytes
Initial size of each journal's quota change file
-D Print out debugging information about the filesystem layout.
-h Prints out a short usage message and exits.
-J size
The size of the new journals in megabytes. The defaults to 32MB (the minimum size allowed is 8MB). If you want to add journals of
different sizes to the filesystem, you'll need to run gfs2_jadd once for each different size of journal.
-j num The number of new journals to add.
-q Be quiet. Don't print anything.
-u MegaBytes
Initial size of each journal's unlinked tag file
-V Version. Print version information, then exit.
SEE ALSO
mkfs.gfs2(8) gfs2_grow(8)
gfs2_jadd(8)