07-29-2007
Filter by modify date.
I want to filter an "ls -al" command so it only shows me files with modify dates older than two weeks. What is the best way of doing this?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to find a way to print the date that a file was modified on.
Using ls -l gives me to much information! All i need is the date. There must be a simple way to do this, but i cannot find it anywhere.. can someone give me some advise? (2 Replies)
Discussion started by: tine
2 Replies
2. UNIX for Dummies Questions & Answers
i would be grateful if someone could supply me with a shell script which performed a ftp but only retrieved files which had a created date greater than a specific date - is this possible with ftp?
many thanks
mc (1 Reply)
Discussion started by: campbem
1 Replies
3. Shell Programming and Scripting
Ok, the filter looks like this.
awk ' BEGIN{printf ("^
This is sending escape sequences to the printer. What I also would like to do is filter out certain pages. I only want the contant between two markers. Start Marker=1Q2Q3Q4Q, End Marker=5Q6Q7Q8Q. I also need the actual line that... (0 Replies)
Discussion started by: djsal
0 Replies
4. Shell Programming and Scripting
Hi All,
I am having one abc.txt file contains below data.
abc.txt contains below data
jjhj "TransactTime":"2011-09-26 12:09:15"
ggjk "TransactTime":"2011-10-31 12:09:15"
jlajsla "TransactTime":"2011-11-01 12:09:15"
in below code using " $runDate = $1 if $str =~... (2 Replies)
Discussion started by: aish11
2 Replies
5. Shell Programming and Scripting
Hi
My OS is solaris 64 bit 10, I have many files in a logs directory where we recive 40-50 logs every day. i have last 20 days file present in this directory. I want to move each day file to a particulaar directory whose name is appended with the date of file.
eg
Code:
1.txt file... (1 Reply)
Discussion started by: guddu_12
1 Replies
6. Shell Programming and Scripting
Hello,
I currently have the need to perform backup, naming the file by date. How do I get the script, you can choose the most current file or current date and then upload it? My script is related to this topic that is already closed.
Read Post
Can anyone help me? (12 Replies)
Discussion started by: hdegenaro
12 Replies
7. Shell Programming and Scripting
Dear All,
I am capturing system date and creating the file by using that time stamp, file is getting appended with checks of application & database check logs.
But when the date is in between 1 to 9 both inclusive, it appends a single space to file name but after 9th it works fine.
... (5 Replies)
Discussion started by: pradeep84in
5 Replies
8. Shell Programming and Scripting
Hi,
I've no problems filtering text in awk but whenever I try to filter date format such as 03022013, I couldn't get awk to filter the item out.
Any tips? (8 Replies)
Discussion started by: commonwealth
8 Replies
9. Shell Programming and Scripting
Hi Linux Community
I would like to ask about how to compare files in deferent server with date.
Those A and B servers has the same folder, I have write a sample script to "ls" both folders and "diff" them, and then "rsync" the missing files.
It was running well, both A and B are sync, until... (2 Replies)
Discussion started by: lunaticdawn
2 Replies
10. Linux
Hi,
Could you please provide me command to filter contents between date in a log file?
Say for example, in a log file I want to capture contents between date May 01 from 5am to 9 am.
OS -- Linux
Regards,
Maddy (1 Reply)
Discussion started by: Maddy123
1 Replies
LEARN ABOUT DEBIAN
pod::abstract::filter
Pod::Abstract::Filter(3pm) User Contributed Perl Documentation Pod::Abstract::Filter(3pm)
NAME
Pod::Abstract::Filter - Generic Pod-in to Pod-out filter.
DESCRIPTION
This is a superclass for filter modules using Pod::Abstract. Subclasses should override the "filter" sub. Pod::Abstract::Filter classes in
the Pod::Abstract::Filter namespace will be used by the "paf" utility.
To create a filter, you need to implement:
filter
Takes a Pod::Abstract::Node tree, and returns either another tree, or a string. If a string is returned, it will be re-parsed to be
input to any following filter, or output directly if it is the last filter in the list.
It is recommended your filter method produce a Node tree if you are able to, as this will improve interoperability with other
"Pod::Abstract" based software.
require_params
If you want positional arguments following your filter in the style of:
paf find [thing] Pod::Abstract
then override require_params to list the named arguments that are to be accepted after the filter name.
METHODS
new
Create a new filter with the specified arguments.
require_params
Override to return a list of parameters that must be provided. This will be accepted in order on the command line, unless they are first
set using the "-flag=xxx" notation.
param
Get the named param. Read only.
filter
Stub method. Does nothing, just returns the original tree.
run
Run the filter. If $arg is a string, it will be parsed first. Otherwise, the Abstract tree will be used. Returns either a string or an
abstract tree (which may be the original tree, modified).
AUTHOR
Ben Lilburne <bnej@mac.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 Ben Lilburne
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-03 Pod::Abstract::Filter(3pm)