mainGNU tar - Support: sr #107690, Operational Question...

 
 

sr #107690: Operational Question...

Submitter:  John A Parker <johnaparker>
Submitted:  Wed 18 May 2011 03:46:38 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 18 May 2011 03:46:38 PM UTC, original submission:  

This may be an irrational desire but I wondered if there was a way to specify TWO sets of options on one tar command?

For example, I'd love - in one command - to be able to bundle AND compress (-z) the contents of a directory which was mostly symlinks WITH the contents of the same directory but this time dereferencing the symlinks.

Performing the above using two distinct operations (using -c for the first step and then -u for the second) means I can't simultaneously use -z, requiring a third step to gzip the tar ball.

Obviously I'm being lazy and could bundle the three steps into one shell script, but I'd love to be able to run something like...

tar -cvzf ~/test.tar.gz !-h -P /dir1 -h -P /dir1

Maybe I can do this but am just didn't know it?

THANKS!!!

John

John A Parker <johnaparker>

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by johnaparker (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code