bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] How to include only certain files?


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] How to include only certain files?
Date: Wed, 23 Sep 2009 12:59:18 +0300

Peng Yu <address@hidden> ha escrit:

> I can use the following command to exclude *.exe files. But if I only
> want *.exe files, how to do it?

Use find:

  find . -name '*.exe' | tar -cjvf abc.tar.bz2 -T - --no-recursion

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]