How to tar multiple files in perl

Posted by kpraveenreddy on Stack Overflow See other posts from Stack Overflow or by kpraveenreddy
Published on 2010-03-30T14:25:52Z Indexed on 2010/03/30 16:13 UTC
Read the original article Hit count: 290

Filed under:
|
|

How can I tar multiple directories and also append files with some pattern like '.txt' and exclude some directories and exclude some patterns like '.exe' all into a single tar file. The main point is the number of directories are unknown(dynamic), so I need to loop through..I guess?

© Stack Overflow or respective owner

Related posts about perl

Related posts about tar