[HPADM] tar dot-files [SUMMARY]

From: HAUTECOEUR Bruno (HAUTECOB@ESSILOR.fr)
Date: Thu Jun 27 2002 - 10:26:05 EDT


My original post:

-------------------------------------------
Hi admins,

how can i tar files beginning with dot ? (.profile, .exrc, ...)
I tried with tar cvf file.tar ./* but dot-files are not tar'ed ...

any ideas ?
-----------------------------------------

Here is the summary of this basical question:

tar cvf file.tar . -> for all the current directory (including
dot-files)
tar cvf file.tar ./.??* -> for all the dot-files (with more than 2 char.
after dot) in the current directory (excluding . and ..)
tar cvf file.tar ./directory -> for the whole directory (including
dot-files)

Thanks to about twenty persons who have answered.

Rgds,
________________
Bruno HAUTECOEUR
Architecte système Unix
DSI / Architecture Technique - Essilor International
Tel: 33 (0)1 48 98 73 20 / Fax: 33(0)1 49 56 20 56
mail: hautecob@essilor.fr

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:15 EDT