[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] [BASH] parameter expansion



Undskyld for min dumme første post.

sslug@sslug:/tmp$ EXCL="--exclude '*~' --exclude '.#*'"
sslug@sslug:/tmp$ ls -al test
insgesamt 20
drwxr-xr-x  2 hstadler hstadler 168 2006-07-25 22:19 .
drwxrwxrwt 12 root     root     416 2006-07-25 22:20 ..
-rw-r--r--  1 hstadler hstadler   9 2006-07-25 22:18 a
-rw-r--r--  1 hstadler hstadler   9 2006-07-25 22:19 ~a
-rw-r--r--  1 hstadler hstadler   9 2006-07-25 22:18 a~
-rw-r--r--  1 hstadler hstadler   9 2006-07-25 22:18 b
-rw-r--r--  1 hstadler hstadler   9 2006-07-25 22:18 .#b
sslug@sslug:/tmp$ eval "tar cvf test.tar $EXCL test"
test/
test/a
test/b
test/~a
sslug@sslug:/tmp$ tar tf test.tar
test/
test/a
test/b
test/~a
sslug@sslug:/tmp$ 


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-08-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *