bengalliboy
MIS
Hi,
I got 2 dir (test1 and test2) that I want compress with 'tar' except 1 file (logon) in test2.
I am trying the following but don't know what am I doing wrong..... it is saying logon file excluded but, there is nothing on the test.tar that I am creating!
#######################################
tar -cvfX test.tar test1 test2 test2/logon
#######################################
Note: the tar command works well that is it compress when I use -cvf and does not include any of the filewhen I use -cvfX. How can I use both?
I got 2 dir (test1 and test2) that I want compress with 'tar' except 1 file (logon) in test2.
I am trying the following but don't know what am I doing wrong..... it is saying logon file excluded but, there is nothing on the test.tar that I am creating!
#######################################
tar -cvfX test.tar test1 test2 test2/logon
#######################################
Note: the tar command works well that is it compress when I use -cvf and does not include any of the filewhen I use -cvfX. How can I use both?