Well that's not so hard...

~/.tmp% ls -la     
total 2190
drwx------  3 han users    512 Sep 23 21:19 .
drwx------ 18 han users   1536 Sep 23 21:20 ..
-rwxr-xr-x  1 han users 908581 Sep  7 18:55 configure
-rwxr-xr-x  1 han users 908228 Sep  7 18:51 configure.orig
-rw-r--r--  1 han users    596 Sep  7 18:48 irssi.configure.in.patch
-rw-------  1 han users    243 Sep 23 20:59 mailtmp
drwx------  2 han users    512 Sep 22 18:58 mc-han
-rw-r--r--  1 han users   3214 Aug 21 08:53 mutt-haddock-1000-26618-424
~/.tmp% tar czf foo.tgz $(find . ! -name mc-han ! -name .)
~/.tmp% tar tvzf foo.tgz 
-rw-------  1 han      users          243 Sep 23 20:59 ./mailtmp
-rw-r--r--  1 han      users         3214 Aug 21 08:53 
./mutt-haddock-1000-26618-424
-rwxr-xr-x  1 han      users       908581 Sep  7 18:55 ./configure
-rw-r--r--  1 han      users          596 Sep  7 18:48 
./irssi.configure.in.patch
-rwxr-xr-x  1 han      users       908228 Sep  7 18:51 ./configure.orig

Got it? :-)


# Han

Reply via email to