t.tmp is a sample file that you are creating at 11.20 and then listing all the files after that particular time stamp... thats why you are using -newer t.tmp
Hello people,
I want to list the files & folders created/modified since a particular date say June 2006. I know I can list recursively thru the folders and use awk to extract the date column to get the desired output.
Just wanted to check whether there is an easier way to do this. Please... (2 Replies)
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)
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)
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)
Our nightly updates run in the evening and finish around 8am. My boss wants the current log files kept on the server for 2 days, but wants anything created before noon, 2 days prior archived. I was thinking of using touch to set a temporary file with a date of today-2 and a time of noon, then... (3 Replies)
Hi,
Can any one tell the command to list all the files that are created as of today from all the directories?
The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path:)
Thank you in advance.:)
Regards,... (4 Replies)
Hi,
I need a script that can search a word "Error" in last 10 Hrs generated logs in /log/App1 and /log/App2 folder..
Note these directories have massive log files ...actually our application generate 100 Log files of size 2MB in just a min so script must be fast enough to cater this I... (9 Replies)
Hi, ALL
thanks in advance,
i listed all files using this command
ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ;
Best regard
MEROUAN
Use code tags, thanks. (4 Replies)
Dear Gurus,
I want to check if file got created in less than 10 hrs in .ksh.
Here is my requirement
In $var5 : I'm storing file name
In $var4 I have stored : select to_char(sysdate,'YYYYMMDDHH:MM:SS') from dual;
If that file date time is less than 10 hrs, then I need to check
if less... (1 Reply)
Discussion started by: thummi9090
1 Replies
LEARN ABOUT DEBIAN
damnit
DAMNIT(8)DAMNIT(8)NAME
damnit - DAtabase MaNagement InTerface
SYNOPSIS
damnit [-h] [-d <file> <value>] [-a <file> <value>]
[-f <string>]
[-l <file>]
DESCRIPTION
damnit is the database management tool for gnarwl(8) sys-
temadministra-
tors to list and/or manipulate gnarwl's database
files. It is not
intented to be employed by the average user, who should
use LDAP as the
only interface to gnarwl(8)OPTIONS -h Print usage information
-f <string>
Select output format for database listing (only
meaningful with
-l). <string> is the template for what the output
should look
like. The following macros are recognized:
%entry, %time,
%tstamp,
and . Translating to the entry
itself, the
entrytime (in human readable form), the entry-
time (as time-
stamp), a newline character, and a tab character.
The default
format is: "%time -> %entry
". Don't forget the
trailing new-
line.
-d <file> [<value>]
Delete <value> from <file>. If <value> is omited,
damnit will
read <value> from stdin (one per line), until ei-
ther EOF or an
empty line is detected.
-a <file> [<value>]
Add <value> to <file>. If <value> is already stored
in <file>,
damnit will only update the timestamp. If <val-
ue> is omited,
damnit will read <value> from stdin (one per line),
until either
EOF or an emtpy line is detected.
-l <file>
List database file specified by <file>.
DATABASE FILES
gnarwl uses hashfiles for storing information on disk.
Meaning, all
datasets consist of key and value pairs. The key is always
a NULL ter-
minated character string, while the value contains the
timestamp, when
the key was entered (last time) into the file. This
timestamp is of
type time_t (as returned by time(2)) and therefore,
gnarwl's database
files are not copyable between different system architec-
tures.AUTHOR
Patrick Ahlbrecht <p.ahlbrecht@billiton.de>
SEE ALSO gnarwl(8)FILES
/tmp/buildd/gnarwl-3.6.dfsg/debian/gnarwl/var/lib/gnarwl/block/*
Every file in this directory represents an emailad-
dress, gnarwl
(already) received a mail for. Every time, gnarwl
sends out an
autorreply for an address, the recepient of that
mail is locked
into the according file. gnarwl will not
send any further
autoreplies for this sender/receiver combo, until
the timeout
specified in gnarwl.cfg expires.
/tmp/buildd/gnarwl-3.6.dfsg/debian/gnarwl/var/lib/gnarwl/blacklist.db
Emailaddresses listed as keys in this file are
not subject to
autoresponding (the addresses of root, postmaster,
webmaster and
the like should be put herin). Note: The complete
mailaddress,
as it would appear in an email, must be speci-
fied here, as
gnarwl checks these "as-is".
/tmp/buildd/gnarwl-3.6.dfsg/debian/gnarwl/var/lib/gnarwl/badheaders.db
Each entry in this file represent a line that may
not occur in
the header of a received email. That is, gnarwl
won't reply to
any mail, it is able to match a headerline with an
entry in this
file.
DAMNIT(8)