I'm trying to delete files that were created/modified in the year 2005 that we compressed and have the .Z extension on them. I tried using the awk utility but the syntax is incorrect. I don't know how to use a wildcard to capture all the compressed files. Here's the code I used
( ls -lR |... (5 Replies)
Is there any way to find "Number of files" that exists on my solaris parition in the starting of 2009 year ?
I know ctime or mtime will not help and unix wouldnt store creation time.
Only hope i can see ( and i am not sure if that will help ) is that my system is up from last 2 years without... (5 Replies)
Hi all,
I have a massive amount of recording files in .WAV format stored in a directory, files dating back to 2006.
It is a huge amount of files as Linux cannot even do a listing of it all, it states: "argument list too long"
What I would like to do is the following:
Find all the files of... (6 Replies)
Hi
I have lot of files and subdirectories inside a directory which are created in the years 2006, 2007, 2008, 2009 and 2010.
I want to delete all the files and subdirectories belonging to the year 2006 alone.
How can I do that ? (5 Replies)
Hi All,
I want to login to a remote server using FTP command and then check for files older than 1 year and delete those files.
Please let me know how can i achieve this using Unix Commands.
Thanks in Advance, (10 Replies)
Hi All,
I find all files for same month and year
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 c.txt
-rwxr-xr-x 1 user userg 1596 Mar 21 2012 d.txt
-rwxr-xr-x 1 user userg 1596 Mar 22 2012 f.txt
-rwxr-xr-x 1... (8 Replies)
Hi All,
how can i delete files from my Unix directory on the basis of year, i have files from 2001 to till 2014, but from their, i have to delete only 2013 file.Below is my file name
rwxrwxrwx 1 guopt users 5169 Jul 12 00:30 grt592_20130712003000.SAP
Thanks
Kki (2 Replies)
Hi All,
I need to merge few files as belowABC_NYFWFX.txt
ABC_NYFQTFX.txt
ABC_NYFMAFX.txt
ABC_NYFAVFX.txt
ABC_CYFWFX.txt
ABC_CYFQTFX.txt
ABC_CYFMAFX.txt
ABC_CYFAVFX.txt
ABC_CYBWFX.txt
ABC_NYFWFX.txt & ABC_CYFWFX.txt should be merged into a single file and name should be... (3 Replies)
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 CENTOS
date::manip::tzdata
Date::Manip::TZdata(3) User Contributed Perl Documentation Date::Manip::TZdata(3)NAME
Date::Manip::TZdata -- Internal module for working with the tzdata files
SYNOPSIS
use Date::Manip::TZdata;
$tzd = new Date::Manip::TZdata($dir);
DESCRIPTION
This module is not intended for public use. It is used internally by the scripts used to analyze the time zone database and generate the
modules for each time zone. The module is included in the distribution solely for the sake of completeness. Currently, no support is
offered for this module, and it can (and may) change without notice.
This module consists of routines for working with the tzdata files obtained from ftp://ftp.iana.org/tz/ . These files are updated several
times a year and are the basis for time zone descriptions for most computer systems.
ROUTINES
new
use Date::Manip::TZdata;
$tzd = new Date::Manip::TZdata($dir);
This finds and reads in all the tzdata. If $dir is passed in, it is the directory where a tzdata directory is located. It defaults to
the current directory.
KNOWN LIMITATIONS
Some assumptions and limitations are assumed in the logic of this module.
When a time change occurs, the time may change backwards or forwards. Time changes rules are listed on a per-year basis. It is assumed
that time changes will not occur so close to the end or start of the year as to cross the year boundary (in other words, the year will not
change as a result of the time change). This is not accounted for, and it is hoped that this situation will never occur.
Also, because this module is strictly limited to 4 digit positive years (regardless of whether it is wallclock or universal time), and
because various parts of the module switch back and forth, valid times for this module are from Jan 2, 0001 to Dec 30, 9999. This ensures
that conversions from wallclock to universal or vice versa will never make dates occur in the year 0000 or 10000.
KNOWN BUGS
None known.
BUGS AND QUESTIONS
Please refer to the Date::Manip man page for information on submitting bug reports or questions to the author.
AUTHOR
Sullivan Beck (sbeck@cpan.org)
perl v5.16.3 2014-06-09 Date::Manip::TZdata(3)