07-01-2014
So a few questions first:-
- What have you tried so far?
- What errors/output are you getting?
- What OS and version are you using?
- What tools do you prefer?
Most importantly,
What have you tried so far?
If you were to consider the problem as a manual tasks, break it down into smaller chunks and logically work out the simplest steps you can. Does that help?
Show us your efforts and thinking and we will be better placed to help you.
Robin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I use the date function to get the following format?
Nov 18
I've tried date +%b%d but I get it in this format: Nov18 with no space. (1 Reply)
Discussion started by: ssmiths001
1 Replies
2. UNIX for Dummies Questions & Answers
I'm very new to Unix, so forgive me for what will probably be a very quick fix. I have the following in a ksh script. Its purpose is to return yesterday's date. The $DAY part is coming back with a '2' but I need it to return as '02'. How can I do that?
date '+%b %d %Y' |
{
read MONTH DAY... (4 Replies)
Discussion started by: ssmiths001
4 Replies
3. UNIX for Dummies Questions & Answers
Hello all. I am trying to do a file listing on a particular directory by date. I need to list the files and their directories that have a timestamp between Dec-1-2006 and Jan-1-2007. Any help would be greatly appreciated. (1 Reply)
Discussion started by: mastachef
1 Replies
4. UNIX for Dummies Questions & Answers
Can any one help me in getting all the files between any two given dates.. (8 Replies)
Discussion started by: thanuman
8 Replies
5. UNIX for Dummies Questions & Answers
Hey guys.
I need to manipulate the system date to move forward a day. So, if the system date was 02/14/08, I need the 'new' date to be 02/15/08 so my script will look for the date of 02/15/08. The thing is the file I will be looking for always has the date of the next day.
Any ideas,
... (9 Replies)
Discussion started by: ndoggy020
9 Replies
6. Shell Programming and Scripting
I have 2 variables in my script like this
$v_last_update_date1 = 08/18/2009 08:41:17
$v_last_update_date2 = 08/18/2009 08:30:17
Now I want to comapre with greater than
if
then go forward
else
error and exit out
I am getting unknown test operator error
Can anyone advise (1 Reply)
Discussion started by: veeru
1 Replies
7. AIX
Hi,
I need to copy particular date files from one directory to another.
For example,
I have thousands of files in
/home/usr
From this I need to copy only particular date files (each date contains thousand number of files) to some directory of another server.
Could anyone please help me... (3 Replies)
Discussion started by: teddy2882
3 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
9. Shell Programming and Scripting
Hi
Please help me for the below task.
In my home directory if I run ls -l command, it lists all the files, here I want to delete files created from January 2014 to Aug 2014...but I need to keep the files which are created after September 01 2014.
Thanks
Siva (3 Replies)
Discussion started by: kumar85shiv
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Currently I'm moving the files based on date like below.
"mv *20150901* backup_folder" - Limitation: can move only 1 day files to backup folder.
I want to move the files of different dates like 20150901,02, 03, 04.....
Is there any single command to do it.
Thanks in advance!! (2 Replies)
Discussion started by: prakashs1218
2 Replies
LEARN ABOUT MOJAVE
fc-list
FC-LIST(1) FC-LIST(1)
NAME
fc-list - list available fonts
SYNOPSIS
fc-list [ -vVh ] [ --verbose ] [ [ -f format ] [ --format format ] ] [ [ -q ] [ --quiet ] ] [ --version ] [ --help ]
[ pattern [ element... ] ]
DESCRIPTION
fc-list lists fonts and styles available on the system for applications using fontconfig. If any elements are specified, only those are
printed. Otherwise family and style are printed, unless verbose output is requested.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-v Print verbose output of the whole font pattern for each match, or elements if any is provided.
-f Format output according to the format specifier format.
-q Suppress all normal output. returns 1 as the error code if no fonts matched.
-V Show version of the program and exit.
-h Show summary of options.
pattern
If this argument is set, only fonts matching pattern are displayed.
element
If set, the element property is displayed for matching fonts.
EXAMPLES
fc-list
Lists all font faces.
fc-list :lang=hi
Lists font faces that cover Hindi.
fc-list : family style file spacing
Lists the filename and spacing value for each font face. ``:'' is an empty pattern that matches all fonts.
SEE ALSO
fc-match(1) FcFontList(3) FcPatternFormat(3) fc-cat(1) fc-cache(1) fc-pattern(1) fc-query(1) fc-scan(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was written by Keith Packard <keithp@keithp.com> and Josselin Mouette <joss@debian.org>.
Aug 13, 2008 FC-LIST(1)