Include a hidden file in a tar

I need to tar all the files in my current dir (some are hidden files).
when I issued the command "tar cvf temp1.tar *" , then extracted the tar, I couldnt find the hidden files.
Can some one plz help me.. if I need to include any additional options while issueing tar command or any workaround is available for this..
Thanks in advance.
Bindu

Hello
Check first if the file has been included into the tar archive (tar tf ...).
Typically "*" means: not including hidden files so "tar cf x.tar *" will not include hidden files.
In this case type: "tar cf x.tar * .*" (with a space between the first "*" and the ".")
Martin

Similar Messages

  • How can I delete all components of Firefox 8 for Mac. Again...all components and hidden files. (YES, I did check the Moz web site but the page was essentially blank

    I have an unstable install of Mozilla firefox 8 and need to delete ALL files from my mac running OSX 10.7.2. I went to Mozilla web site and got this but it does not populate with content:
    http://support.mozilla.com/en-US/kb/Uninstalling%20Firefox?s=uninstall+firefox+mac&r=0&as=s#w_removing-user-data-and-settings
    But nothing appears at this URL.

    Please note I need all files removed including the hidden ones.
    thx

  • How do I stop Windows 7 from searching hidden files and folders

    In XP it was simple with the intuitive Advanced Search Options.
    Even if you enable "Don't show Hidden Files and Folders" in Windows 7, they still show up in the search menu.  A similar post included a suggestion by a support dude to post a question here.  I've searched for every possible solution and yet something so simple appears to be non existent.  Has Microsoft just lost its mind with omitting this feature?  Is this something that will never be solved?  Indexed or not, hidden files and folders still appear in Search.
    Thanks

    what have you setup in Explorer->Organize->Folder & Search Options?
    Don't show hidden and Hide: Empty, Protected, etc. all ticked
    if you have at some stage indexed all those system folders, and subsquently removed those from the index scope, then you may need to rebuild the index so those results are not presented by searches?
    i've assumed that you are getting things like \windows included, and this seems to be typical. perhaps because some common tools like notepad, wordpad etc reside in those folders.
    have you checked out the Indexing Options?
    from memory, "don't show hidden & system" really only obscures the stuff when you're browsing in explorer. the indexing engine doesn't respect that kind of setting. you'll need to get your indexing scope worked out to affect the search results presented.
    I'm not concerned much with indexing, it's just amazing that there is no option to stop "Search" from searching hidden files and folders when "Don't show hidden" is checked - the way it was with XP, etc.  As I understand it whether folder is indexed or not, will not stop "SEARCH" from searching them.  It was quite simple in XP but in Windows 7 it seems it is impossible.

  • How to display hidden files in Finder?

    In Carbon Copy Cloner, I can see that there are hidden files on my internal hard disk.  They have names like .apsidal, .Younity, etc.  What settings do I use in Finder to display these files?  I thought that using the System files are included setting would work, but it doesn't.  Thanks

    Choose Utilities from the Finder’s Go menu, open the AppleScript Editor, and run the following:
    tell application "Finder" to quit
    try
    if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is not "1" then error
    do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
    on error
    do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
    end try
    delay 2
    tell application "Finder" to run
    If you change your mind later, run the script again.
    (122189)

  • How to recover hidden files and folders from memor...

    When you connect your memory card to a PC or connect your phone as a mass storage device to a PC which is infected by a virus, the virus may hide all your files and folders.
    The virus also changes their attributes to "hidden" and "read only" and may move all memory card content to another hidden folder, though the size of the disk looks unchanged, files are still invisible.
    Steps to recover hidden files and folders:
    First, change the settings in "folder options" so that we can see all hidden files and folders,
    Open any folder > select organise > folder and search options, select view tab and under hidden files and folders setting, select "show hidden files, folders and drives", and uncheck the option "Hide protected operating system files" and click ok, click yes if a prompt appears for confirmation, now you should be able to see all hidden files and folders.
    Second, connect your memory card to PC using a card reader or you can connect your phone as a mass storage device and note down its drive letter. (L) is the drive in my case as shown
    1. If you have autorun.info file, you can manually delete it or use tools like autorun eater(or any other you like).
    If all the folders are moved inside a hidden folder, select all the items inside that folder, cut them and paste them to root directory of your memory card.
    If you select properties of any folder on your memory card, the hidden attribute might be locked as shown:
    To solve these issues, type cmd in the start menu, right click on it and click run as administrator.
    2. In the command prompt window, type the following:
    L: [Press Enter]
    Here, I assume L as your drive letter.
    3. Type the following code to reset the attributes of all the files and folders to their default:
    Attrib *.* -r -h -s /s /d   [Press Enter]
    After few seconds, all the files and folders will be reset to their normal attributes settings.
    Hope you enjoyed reading the post and was helpful.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

    Check the formatting of the external hard drive. To do that, right click on the drive icon and select Get Info. (Or click once on the drive and type command +i ) The pane includes information about the drive format.
    The drive should be formatted as Mac OS Extended. If it is not, run Disk Utility (App;ications / Utilities) and format the drive.

  • How can i see hidden files in macBook air?

    how can i see the hidden files in macbook ,  i dont know how to unhide it and i dont know how to hide it also.

    Hey Ajithchowdary,
    I have two articles for you that may be able to help you resolve your question:
    OS X: How to include system files in Finder search results
    http://support.apple.com/kb/HT4355
    OS X Mountain Lion: Find invisible files
    http://support.apple.com/kb/HT4355
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Showing hidden files white screen upon restart

    I put in the command to show hidden files and restarted my iMac. It only shows a white screen. Completely blank. How do I fix it? It runs on Lion and has a Time Machine backup.

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    Step 1
    The first step in dealing with a boot failure is to secure your data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since your last backup, you can skip this step.   
    There are several ways to back up a Mac that is unable to boot. You need an external hard drive to hold the backup data.
         a. Boot into the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.”
    b. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    c. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to boot, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can boot now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    If you've booted from an external storage device, make sure that your internal boot volume is selected in the Startup Disk pane of System Preferences.
    Step 3
    Boot in safe mode. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you boot in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, your boot volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 5.
    If you can boot and log in now, empty the Trash, and then open the Finder Info window on your boot volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then reboot as usual (i.e., not in safe mode.)
    If the boot process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 4
    Sometimes a boot failure can be resolved by resetting the NVRAM.
    Step 5
    Launch Disk Utility in Recovery mode (see Step 1.) Select your startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then reboot as usual.
    Step 6
    Reinstall the OS. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 7
    Repeat step 6, but this time erase the boot volume in Disk Utility before installing. The system should automatically reboot into the Setup Assistant. Follow the prompts to transfer your data from a Time Machine or other backup.
    Step 8
    This step applies only to a pre-2013 Mac Pro tower, not to any other model. A dead logic-board battery can cause a gray screen at boot. Typically the boot failure will be preceded by loss of the startup disk and system clock settings. See the user manual for replacement instructions.
    Step 9
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store to have the machine tested.

  • Hidden files in mac?

    Hello, Id like to know where can i find hidden files in my mac, id like to see if i can erse some of them, i also would like to know where is the php 4.4.1, that which comes with mac by default, cause i want to update it to the 5th version inthe command line. 10x a lot

    php is included in OSX client. the binary for php is located in /usr/bin/php
    you can find this by typing in a terminal
    whereis php
    /usr/lib/php holds what it says, lib files for php. this is where you might put pear plugins at.
    as for upgrading php. Apple is currently supplying 4.4.1 in the latest software update. there are installers out there to ugprade to 5, although i can't gurantee this isn't going to break something else that might depend on 4.4.1, hopefuly the installer you choose DOES NOT remove 4.4.1. more than likely they can both be installed on your system and live happily side by side
    below is a link that has some info on packages of php5 for OSX
    http://forevergeek.com/apple/php5_installer_for_osx.php

  • How to make a *full* backup (including the hidden partition), free solution prefered =) [T400]

    Hi,
    I'm planning on messing with my system a little (re-partition, install linux) and I want a full-proof recovery plan. This should work in case I *completely* mess up my HD (bad boot records, destroyed partitions, etc.)
    I have an external hard drive with plenty of free space. How would I make a completely backup; something that would restore everything (including the hidden partition) to its current state?
    Is there any way to do this using free/opensource?
    Keep in mind that if there's a linux app that can do this, I can just boot up using a live CD and run the app from there.
    Thanks in advance.

    Vista or XP? What is/was the partition layout? IIRC, w/XP the 2nd partition is the service partition (hd0,1) and with Vista it is the first (hd0,0).  I don't know if that is always the case, so how is your drive layed out?
    ISTR that with XP the service partition is "hidded' by using an ID of 12 (or something) even though it is a FAT32 partition.  Grub might be unhappy with the ID.  Changing it to "C" might let it boot. That's just a WAG.  My recollection is that the ID only affected where I could install the grub files, not what I could boot.
    I've got some old notes here somewhere:  www.beezmo.com/ThinkPadT61.htm maybe in "partitioning" or Windows XP.
       **** grrr.  the insert link thingy isn't working.  the link above is literally correct, but the forum is inserting some invisible characters ****
    I don't know clonezillla.  Will it let you restore only one of the partitions?  If so, do a restore to factory (with the recovery media you made immediately on receiving the laptop) and then restore only the Vista or XP partition from clonezilla.
    HTH,
    Z.
    Message Edited by zoltanthegypsy on 01-07-2009 06:47 AM
    Message Edited by zoltanthegypsy on 01-07-2009 06:48 AM
    Message Edited by zoltanthegypsy on 01-07-2009 06:50 AM
    Message Edited by zoltanthegypsy on 01-07-2009 06:53 AM
    Message Edited by zoltanthegypsy on 01-07-2009 08:00 AM
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Show hidden files breaks "All My Files"

    I'm trying to get my AMP stack back up on a new Mountain Lion Mac, which has become a larger pain since they removed Web Sharing. First step to getting the AMP stack up was to show hidden files:
    defaults write com.apple.Finder AppleShowAllFiles YES
    Then a restart of finder (option + right click Finder in dock > Restart), but this has completely killed "All My Files" showing anything. It's not like I really care about this feature of Finder, but still, just wondering if there is a different terminal command now for showing hidden files that doesn't break this. Hiding hidden files back to default does not fix "All My Files" either.
    In addition, you can't double click any hidden folders, you have to right click and select "Open" or "Open Original" if it was an alias (ie etc).

    I can't reproduce the problem.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter "mdworker" (without the quotes) in the Filter text field. Post the messages that appear in the Console window — the text, please, not a screenshot.
    If there are runs of repeated messages, post only one example of each. Do not post many repetitions of the same message.
    Some personal information, such as the names of your files, may be included — edit that out, too, but don’t remove the context.
    Step 2
    Do the same with the search string "mds".

  • Hidden files taking up disk space

    My son has been using my wife's computer and has instaled several apps including a screen capture prgram called debut. Now the computer gives a message that it is out of disk space. I set the view options to "calculate all sizes". When I look at the contenst of the user folder, they do not add up to what the finder says is there. The finder says there 92 gigs used, but the contents as show only add up to about 45 gigs. So I'm guessing that one of these apps has installed some sort of "hidden" files. Searching around the community here, I saw it was suggested to use OmniDiskSweeper. When I run that it shows that my "Library" folder inside my wife's "User" folder is about 50 gigs. However, that "Library" folder is not visible in the Finder view. Does anyone know why that would be? Also, having used DiskSweeper to reveal all the files, how do I know what is safe to delete from that "Library" folder?

    This is what I do....I open terminal and issue the following commands (you need to be an administrator)..it will take a few minutes to run since it's counting up space
    cd /
    sudo du -d 1 -x -c -g
    This gives a listing in GB at your root level
    It should look something like this
    MacPro:/ xxxxx$ sudo du -d 1 -x -c -g
    Password:
    1          ./.DocumentRevisions-V100
    1          ./.fseventsd
    2          ./.Spotlight-V100
    0          ./.TemporaryItems
    0          ./.Trashes
    0          ./.vol
    31          ./Applications
    1          ./bin
    0          ./cores
    1          ./dev
    1          ./home
    5          ./Library
    1          ./net
    0          ./Network
    0          ./opt
    1          ./private
    1          ./sbin
    4          ./System
    44          ./Users
    1          ./usr
    1          ./Volumes
    85          .
    85          total
    I'm using 31GB in applications and 44GB in users.  That's the majority.  If you see big numbers in ./Volumes for example, that is the sign of a failed TM restore, etc...
    Now I cd into Users (cd Users) and rerun the same command
    MacPro:Users xxxxx$ sudo du -d 1 -x -c -g
    1          ./bootadmin
    44          ./xxxxx
    1          ./Shared
    44          .
    44          total
    You can see that I'm using all the 44GB, not the user bootadmin, not shared
    Now if I cd into xxxxx and rerun the command I get this
    MacPro:~ xxxxx$ sudo du -d 1 -x -c -g
    1          ./.cups
    1          ./.dropbox
    1          ./.dvdcss
    0          ./.idm
    1          ./.ssh
    0          ./.Trash
    1          ./Applications
    1          ./Desktop
    10          ./Documents
    1          ./Downloads
    1          ./Dropbox
    21          ./Library
    1          ./Movies
    1          ./Music
    12          ./Pictures
    1          ./Public
    0          ./Sites
    44          .
    44          total
    So I have 10GB of documents, 21GB in my Library, 12GB of photos
    One more time in Library (cd ~/Library)
    (truncated for brevity)
    I have 7GB of application support and 12GB of mail
    So with simple commands I can trackdown strageness with storage.  You can't know what to delete but you can ask here "why is this folder using so much space?"  Your son may have his own account and is using 40GB of space now.  My own son has downloaded several games on his mac where each one is 15GB.

  • Can't get hidden files to show in finder

    I have tried multiple methods to get hidden files to be shown in Finder including the Terminal command:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    killall Finder
    I have also tried using Revealer and still no hidden files are shown. 
    Using Mavericks 10.9.x (latest version)
    Can't find the com.apple.finder file anywhere in Library either.
    Thanks in advance

    In that event there is something else wrong with your Mac.  You wouldn't have happened to have installed MacKeeper.  If you did, that's the reason why, and you can only fix that with this tip:
    https://discussions.apple.com/docs/DOC-3036
    Other reasons why, may be on this tip:
    https://discussions.apple.com/docs/DOC-6921

  • I deleted hidden files on my bb curve 9320 now can't see some pics n vids help ??

    I deleted some hidden files (yes I no naughty ! But something was munching my memory), I now can't see certain picture's and video's, Is there way I can fix this ?! As they are of my son :'(, I think I might of deleted a media loader but can't be sure I have 1 left in my device folder if this helps, would be greatful for any advice

    Hi and Welcome to the Community!
    You can try to do a full back up of your device using the BlackBerry Desktop Software including Building Media Storage if the option is there in order to see if that transfer that information to your computer to be able to save it there.
    You can also try to synch your pictures & Videos using the BlackBerry Desktops Software to your computer.
    You can try to take out the Battery wait then put back in & try to see the pictures or videos if there are on the device & was not deleted.
    Please Advise
    If it helped you, click like.
    If my response has helped you, please click "Options" beside my post and mark it as solved.
    Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.
    Good luck and let us know!

  • Lion: search finder hidden files not working

    Hi,
    when I search hidden files in finder with Snow Leopard, it worked fine (putting 'visibility' filter).
    The same search in finder with Lion, it does not working.
    Is it a bug of Lion?
    Thanks.

    Open finder
    > Press Cmd-F
    > Under where it says "search" and "this mac" select the drop down menu called "Kind"
    > Under the "Kind" drop down menu, select "other..."
    > Select "System Files" and then "OK."
    > Choose system files from the "Kind" drop down menu. Make sure it says system files "are included"

  • Searching for hidden files

    How do I include hidden files in a search result?

    Also directed to OP:
    You can get fancy by running the game to be sure the file is updated and then in a terminal, using the find command to locate all files changed within "n" minutes of starting find.
    For example:
    find . -mtime 0 # find files modified between now and 1 day ago
    # (i.e., within the past 24 hours)
    find . -mtime -1 # find files modified less than 1 day ago
    # (i.e., within the past 24 hours, as before)
    find . -mtime 1 # find files modified between 24 and 48 hours ago
    find . -mtime +1 # find files modified more than 48 hours ago
    find . -mmin +5 -mmin -10 # find files modifed between
    # 6 and 9 minutes ago
    If you start find from the root / and prefix it with sudo, it should find it.
    Example
    sudo find . whatever
    then enter your admin password (it won't show at all) and then hit enter and just wait.
    Message was edited by: nerowolfe

Maybe you are looking for