Lonely Dreamer (sanmai) wrote,
Lonely Dreamer
sanmai

tar --exclude-from=FILE

 $ cat exclude 
htdocs/photos/*
htdocs/archives/*
 $ tar -X exclude -cvf site.tar htdocs/
Tags: linux, useful
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments