helpGNU tar - Support: sr #109179, Could tar please not remove files,...

 
 

sr #109179: Could tar please not remove files, even if --remove-files is specified, upon EOF?

Submitted by:  B.S. <bs27975>
Submitted on:  Sat 05 Nov 2016 07:25:44 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 05 Nov 2016 07:25:44 PM UTC, original submission:

Kubuntu 14.04.5 LTS (trusty), tar (GNU tar) 1.27.1

Could tar please not remove files, even if --remove-files is specified, upon EOF?
- Ack, never mind this point. (But confirmation that it doesn't would be appreciated.)

Further, could it please delete the half-added file from the archive when EOF occurs?

Scenario:

I'm making some tar archives. I don't always get what I intended into the command line correctly.

I start a --create --remove-files tar invocation, and hit Ctrl-C.

tar reports EOF.

I attempt to restore the archive to restore things to the point before invocation so I can resubmit the invocation.

Result:
(1) The tar contains the half-added file that experienced the EOF.
(2) The restore overwrites the not yet removed file upon which EOF was experienced, with this half-added file.

Could:
(1) The tar delete the half-added file from the archive. (Or have an option that defaults to doing so.) So that (2) above doesn't occur.

B.S. <bs27975>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bs27975 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1