Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2005-07-11, 12:20 PM CDT
leonstr Offline
Registered User
 
Join Date: Jun 2005
Posts: 32
tar all files (including hidden files)

Slightly O/T as a pure UNIX question but how do you create a tar that includes hidden files?

Everytime I move from a test installation to a release installation of Fedora I back up my home dir (tar -czvf /tmp/home.tar.gz /home/user1) but always lose my email in the .evolution folder.

This time I've remebered about the hidden folders but can't see how to do this.

And whilst I'm on: why doesn't "find /home/user1 | tar -czvf home.tar.gz" work?

Thanks in advance,

Leon...
Reply With Quote
  #2  
Old 2005-07-11, 12:52 PM CDT
exe Offline
Registered User
 
Join Date: Mar 2004
Posts: 94
find /home/user1 | tar -czvf home.tar.gz -T -

ps. How comes that .evolution is not in archive with simple tar zcvf? Should be in.
pps. To make life easier, use storix.

Last edited by exe; 2005-07-11 at 12:57 PM CDT.
Reply With Quote
  #3  
Old 2005-07-11, 01:14 PM CDT
leonstr Offline
Registered User
 
Join Date: Jun 2005
Posts: 32
Ah! You're right I was doing tar -czvf /tmp/home.tar.gz /home/user1/*

Thanks for your post!
Reply With Quote
  #4  
Old 2005-07-11, 02:46 PM CDT
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
Quote:
Originally Posted by leonstr
Ah! You're right I was doing tar -czvf /tmp/home.tar.gz /home/user1/*

Thanks for your post!
* does not include . (dot) files/directories. /home/user1 should have done the trick or if you had added /home/user1/.*
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hidden files bigmacbb63 Software 1 2009-07-09 01:20 AM CDT
How to make hidden files? Ecstasy General Support 2 2009-02-26 05:56 AM CST
Java: Listing all files and folders, including sub directories keatonvictor Programming 1 2008-09-07 10:42 PM CDT
Hidden Files in KDE sammyd253 Software 3 2006-06-29 12:31 PM CDT
hidden files blurwi General Support 2 2005-09-21 04:45 AM CDT

Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 12:17 AM CDT.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Rules | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2010, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translations delivered by vBET Translator 2.3.10