|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
|||||||
| New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
|
Thread Tools |
|
|
#1 |
|
marketer.
Industry Role:
Join Date: Aug 2006
Location: bcn
Posts: 2,280
|
Tar command (unix)
Trying to automate some backing up, but i don't want to back up lots of images, just php files.
This is the best i can come up with, that excludes most main files, but idealy i would like it to ONLY archive php files...: tar -cf /directory/and/filetoputnewtar.tar /directorytogetfilesfrom/ --exclude=*.pdf --exclude=*.doc --exclude=*.png --exclude=*.jpg --exclude=*.gif --exclude=*.rar --exclude=*.zip --exclude=*cache* --exclude=*logs* can anyone help? Cheers |
|
|
|