Quoting Roger Searle <[EMAIL PROTECTED]>:
 
> How can I get tar to honour --exclude with hidden folders? Can anyone 
> point me in the right direction? aside from man tar or info tar or 
> google which I have already tried.
You have either just discovered a bug in tar or its manual page.
I couldn't get it to work properly with the --exclude PATTERN option either.

I'd suggest using cpio instead.

find /dir/one /dir/two | grep -v '/\.' | cpio --create 

Do please check the manual page for the exact cpio options, there are hordes of
them.

-- 
Sincerely etc. 
Christopher Sawtell 
 

Reply via email to