Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2947494
By: petea

Hi,

I'm having trouble with the --exclude-from option in tar.

The following works:
  tar -cvf backup.tar --exclude *.exe mydir
in that .exe files are excluded from the archive.

But this does not:
  tar -cvf backup.tar --exclude-from exc.txt mydir
where exc.txt contains the line *.exe.

What am I doing wrong?

Platform is Windows 2000 Pro SP4.
tar is tar-1.13-1.

Regards,
Pete A

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to