Advertisement

tar command in linux

Started by September 13, 2004 11:46 PM
4 comments, last by joanusdmentia 20 years ago
Hi, Is it possible to extract a given tar archive to a specific directory ? I have looked at the man pages and info tar and I can't find any option for this. Any ideas how it could be done ? Thanks.
The more applications I write, more I find out how less I know
tar THE_FILE
mv THE_FILES_DIRECTORY/* THE_DIRECTORY_YOU_WANT_IT_IN

?
My stuff.Shameless promotion: FreePop: The GPL god-sim.
Advertisement
Can't it be done with tar withour resorting to mv or cp
The more applications I write, more I find out how less I know
Well I figured it out - thanks
The more applications I write, more I find out how less I know
Please, enlighten us!
My stuff.Shameless promotion: FreePop: The GPL god-sim.
tar <as normal> -C /outdir
"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honor to meet you and you may call me V.".....V

This topic is closed to new replies.

Advertisement