Project

General

Profile

Bug #3474

tar should support -C on extract

Added by Joshua M. Clulow almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2013-01-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Currently our tar supports a -C on creation and a few other operations, but does not support -C on extract like GNU and OS X tar do. The desired behaviour is for -C to chdir(2) to the nominated directory after opening the archive, but before extracting files.

Use cases include: Richard Lowe.

NB: This RFE mirrors Joyent's OS-1626.

Also available in: Atom PDF