Computing.Net > Forums > Unix > tar . files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

tar . files

Reply to Message Icon

Name: mehulnp
Date: February 15, 2007 at 09:07:15 Pacific
OS: unix
CPU/Ram: sun solaris
Product: sun
Comment:

How can we tar the files starting with dot . files .

tar does not include . files

any idea?

Thx
Mehul



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: February 15, 2007 at 09:56:40 Pacific
Reply:

I'm not aware that tar specfically ignores dot or hidden files. Create an archive list of files and make sure the hidden files are part of the list:

#!/bin/ksh
tar /my/tapedevice $(cat archivelistfiles.txt)

Now, just make sure archivelistfiles.txt is built correctly.


0
Reply to Message Icon

Related Posts

See More


borne shell script Filesystem vs. Directory?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: tar . files

how to create TAR files www.computing.net/answers/unix/how-to-create-tar-files/3978.html

find command and tar files www.computing.net/answers/unix/find-command-and-tar-files/5269.html

tar files with date www.computing.net/answers/unix/tar-files-with-date/7521.html