Home » Infrastructure » Unix » tar exclude-file (solaris server)
tar exclude-file [message #347326] Thu, 11 September 2008 05:28 Go to next message
saberfang
Messages: 11
Registered: June 2008
Location: M'sia
Junior Member
Hi all,

I m not sure is this the right place to post this topic but i am having some trouble to actually tar a huge file by excluding some undesired files inside.

i had try some thing like:

1. creating a file call xfiles which contains all the files and folders that i wanna exclude.
eg.
/cms/html/jum10/sqlnet.log
/cms/html/jum10/BILL
/cms/html/jum10/site/ets

2. then i call the command:
tar -cvf jum10.tar jum10 --exclude-file=/tcms/html/xfiles
PS:my pwd is /cms/html

some how this command works without excluding the files i specified.

anything i had missed out?>

i even tried with few more command like tar -cvfX .. but all not working..
can any experts in unix help up?

thx


Re: tar exclude-file [message #347352 is a reply to message #347326] Thu, 11 September 2008 06:10 Go to previous message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Regards
Michel
Previous Topic: Shell Script to Invoke Sql Loader
Next Topic: rc*.d Directory
Goto Forum:
  


Current Time: Thu Mar 28 05:24:41 CDT 2024