LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-16-2007, 07:25 AM   #1
Registered: Feb 2003
Distribution: xNIX
Posts: 121

Rep: Reputation: 15
what is the correct syntax order for tar with --after-date DATE, --newer DAT


Can any one please tell me the exact syntax for tar with --after-date DATE, --newer DAT option.
I have checked it in few books, man pages, but it doesn't explain the order of the switches. Is there any place(web,book etc) which has good better documentation of shell commands than man pages and normal sys admin books
I did Google but could find reliable result.
The one I found messed up the tar filename

Old 03-16-2007, 08:43 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
My read of the tar manpage is that the order of options does not matter. The best way to answer a question like this is to try it.

The man pages are normally pretty good about things like this---ie, if the order is important, it tells you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tar newer files since date AND TIME ElmPie Linux - General 3 02-23-2014 06:32 PM
tar -N (newer that Date) problem johnny_cashier Linux - General 2 01-11-2006 08:08 AM
time and date not correct, after reboot vasanthraghavan Linux - General 4 03-10-2005 11:55 AM
Syntax for setting up the date via Command line. Lespuff Linux - Newbie 1 11-20-2003 07:35 PM
need help with date command syntax bigcletus Linux - Newbie 1 08-02-2003 01:40 AM

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration