Tar File Scripting Question?

Hermie

New member
Joined
Dec 12, 2009
Messages
2
Reaction score
0
Points
1
Hi! I need to create a tar file from a script, but I also need to specify a path for whenever I extract the file. Let's say I'm creating a tar file of all the contents in /root/bin, but when I extract it it needs to extract to /home/user/Desktop?

How could I do that?

Thanks!
 
Back
Top