The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Tar Question
Author: kxpx 
Date:   12-12-06 12:46

I'm attempting to tar up specific contents inside a directory - I've got all the specified directories in a flat text file. I can't seem to get the tar option to read from this file.

The directory structure is like this:

/someuser/.ssh

They're all under /home - but the other systems home directories are not setup the same, so I just want the files specified so I can blast them out to other systems cleanly.

Is there a way for me to format a tar command that will tar only the specified /someuser/.ssh directories from the text file while saving the permissions?

Thanks,
-Keith

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org