LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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


Hello

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

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

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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
 
  


Reply


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 04:25 AM.

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