Hiding files and folders

hi
how can we make files or folders hidden in mac ?

you can put a hidden flag on a folder or a file to make it invisible to finder in normal mode. that can be done with a terminal command. for example to make folder A on your desktop invisible you need to run the following command in terminal
chflags hidden ~/desktop/A
to make it visible again you need to enter
chflags nohidden ~/desktop/A
the general syntax is
chflags hidden /path/to/file
however, there is a terminal command to make finder display hidden files and no matter what those files will be visible from terminal.

Similar Messages

  • Hidden and hiding files and folders

    how do I hide or unhide hidden files or folders??
    I have a directory that I want to hide so that other people can't see it or get access to it. (or at least limit the people who can see it and get access to it.) How do I set it up to protect that directory and any file that goes into it?
    cuz...I have two separate accounts (lets say....x and y) and I want only x and y and root to be able to have access to (e.g.) /home/directory
    What command do I use to make it a "hidden file/folder"? (well..the Solaris equilvalent to a Windows hidden file or folder)

    The option of changing the permisions is a better solution for what you want to do.
    For completeness sake, the way to hide/unhide directories,files etc. in UNIX is by starting the name with a ".".
    This does however not restrict access to the resource in any way , it just hides it from directory listings etc. Most tools/file managers etc. have an option to "show hidden files/directories" which negates its use as a security mechanism.
    You will find that a lot of applications store their configuration information in directories starting with "." as is the case with netscape which has a ".netscape" directory off your home directory. It does serve the purpose of keeping it out of the way as it is not generally visible while still easily accesable.
    The same holds true for WinTel "hidden" directories/files, in explorer they just show up as a lighter shade ( grayed out) but are still accessable like any other directory.
    Hein

  • HIDDEN files and folders

    What is the purpose of hiding files or folders in your applications or downloads folders??? This may seem to be a really dumb question but I would really appreciate some sort of understanding for hidings applications or downloads. Thanks
    Solved!
    Go to Solution.

    Hi there,
    This is useful to hide icons you don't want to see (e.g. icons that were pushed to your phone by your carrier but that you can't delete).  It can also be useful to hide certain applications that you don't want others to have easy access to.  For example, I have hidden the BlackBerry Protect icon to make it that much harder for someone to find and play with (or accidentally delete).  If I actually need to go into the app, I can simply unhide it while I need it, then re-hide it after.
    The big reason for doing this is that it simply makes it harder for someone to delete an app on your phone or to access an app on your phone that you don't want them to have access to.  And of course, it certainly helps that you can hide icons that are pushed from your carrier.
    I hope this is the info you're looking for, but if you meant something else, let us know!
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • My external hard drive is 'seen' by my iMac and I can go into the Finder and open files and folders. I am using the hard drive for Time Machine back up. However Time Machine says it can't find the drive. Same thing has happened with Final Cut Express.

    My new LaCie external hard drive is 'seen' by my iMac and I can go into the Finder and open files and folders. I am using the hard drive for Time Machine back up. However Time Machine says it can't find the drive.
    The same thing happened recently between Final Cut Express and my other LaCie external hard drive used as the Scratch disk. It fixed itself.
    I've run out of ideas. Help would be very much appreciated. Thanks.

    have you done some searches on FCPx and time machine? Is there a known issue with using a TM drive with FCPx? dunno but ...wait...I'll take 60 sec for you cause I'm just that kind of guy....   google...." fcpx time machine problem"  Frist page link 
    http://www.premiumbeat.com/blog/fcpx-bug-best-practices-for-using-external-hard- drives-and-final-cut-pro-x/
           You cannot have time machine backups on your hard drive if you intend to use it in FCPX.
    booya!

  • How to sort files and folders like Windows

    I don't know if this is specific to Arch or every other Linux distro but one thing that really bugs me in Arch is how files and folders are sorted. I use Windows as my main OS (don't start on that please) and I have one folder properly organized exactly as I want it and I like it how Windows sorts this. I access that same folder from my Arch installation, the problem is that the sorting is different and it gets on my nerves lol...
    This is how Windows sorts that specific folder:
    C:\Users\Nazgulled\Documents\University>dir /O
    Volume in drive C is Vista
    Volume Serial Number is F84E-02BE
    Directory of C:\Users\Nazgulled\Documents\University
    05-08-2009 15:34 <DIR> .
    05-08-2009 15:34 <DIR> ..
    05-08-2009 11:10 <DIR> [Archives]
    05-08-2009 14:38 <DIR> [Developers]
    05-08-2009 11:17 <DIR> [X] 1) Cálculo II
    05-08-2009 11:18 <DIR> [X] 2) Análise de Custos
    05-08-2009 11:18 <DIR> [X] 2) Cálculo de Programas
    05-08-2009 11:18 <DIR> [X] 2) Laboratórios de Informática III
    05-08-2009 11:18 <DIR> 2) Algoritmos e Complexidade
    05-08-2009 11:18 <DIR> 2) Arquitectura de Computadores
    05-08-2009 11:18 <DIR> 2) Comunicaçao de Dados
    05-08-2009 11:18 <DIR> 2) Engenharia Económica
    05-08-2009 11:18 <DIR> 2) Estatística Aplicada
    0 File(s) 0 bytes
    13 Dir(s) 24.700.485.632 bytes free
    And this is how Arch does it:
    nazgulled ~/University $ ls -l
    total 7
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Algoritmos e Complexidade
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Arquitectura de Computadores
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Comunicação de Dados
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Engenharia Económica
    drwxr-xr-x 1 nazgulled nazgulled 8192 2009-08-05 11:18 2) Estatística Aplicada
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:10 [Archives]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 14:38 [Developers]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:17 [X] 1) Cálculo II
    drwxr-xr-x 1 nazgulled nazgulled 12288 2009-08-05 11:18 [X] 2) Análise de Custos
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Cálculo de Programas
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Laboratórios de Informática III
    How can I get Arch/Linux to sort exactly the same as Windows?
    Last edited by Nazgulled (2009-08-05 14:41:47)

    toad wrote:
    Nazgulled wrote:Surely there must be a way to have the same sorting collation in Linux like in Windows
    Ah, no. The way they are doing it is nonsensical and not good practice for a unix style system. Having said that, some solutions have already been offered in this thread.
    While you are free to continue to ask others to help you achieve your aims, it may be more convenient for you to adapt to a structure that is displayed the same way under all systems (just to avoid frustration - not saying you _should_ do it ).
    I really don't care if it's nonsensical, I use Windows 95% of the time or more, it's my main OS, I'm used to it and I like it. Why should I care if it's not a good practice for a unix style system? I just want things to behave the way I like and for a free system like Linux where it doesn't even compare to Windows in terms of freedom in what I can do with it and configure the way I like, it sure is hard to change the way folders/files are sorted...
    It sucks that there isn't a proper solution but I'm not going to adapt anything, that would be nonsensical... But if I have to, I can live with the fact that there isn't a good solution and leave it as it is
    Thanks everyone for their input, "topic closed".

  • Cannot see file and folders copied from other windows 8

    Hi everyone,
    The problem is the next:
    I have new PC for that i was asked to setup and install software, i perform on it clean windows 8 install, it have single HDD 1TB that was partitioned by regular windows setup option to system drive C: 100GB and all left space was partitioned as drive D:
    After setup finish i only boot to system to check that everything is OK and without to make ANY change to windows shut it down.
    I physically disconnect HDD from new PC and connect it via standard USB 3 docking device to my own PC that also run windows 8 i can see the new connected HDD with all partitions without any problem! Than i create on second partition on new drive folder and
    copy there some files, after copy finished i disconnect the drive in safe way by performing "eject" option in windows.
    i connect new drive back to new pc, boot to windows and access the second partition and it ... empty, no folder or files on drive, it also show like no space was used !!!
    MOST IMPORTANT ! - Why it don't looks like security or permission or even hardware problem - NO any major security changes was performed on my own (old) PC, but most important fact when i connect other hdd to same dock station and create folder and copy some
    files and then connect it to NEW PC - problem does not exist !!! i can see and access without any problem the folder and files on both PC's !
    I also tried:
    to reinstall windows on new pc
    to create or delete partition after setup in both PC's
    to check folder and drive permissions and adding "everyone" with "full control"
    to turn on "show hidden files and folders" and "system files" too
    to copy or create new different type files
    Interesting - if i create a folder in NEW PC i can see this folder on OLD PC and copy files to it, but whet i connect drive back to NEW PC it sometimes show the folder have those files and even use the appropriate space and programs even try to open those files
    without any security warnings but it cannot be open properly because files looks corrupted !
    Thanks for any help !

    Hi,
    According to your description, I don't think this is system problem. More like HDD or its interface problem.
    Have you tried to reconnect your new HDD to your own computer again after you copy some file to it but couldn't find anything on new computer. If there is problem in new PC, how about your own PC?
    Please have a try, If there was any progress, feel free let us know.
    Roger Lu
    TechNet Community Support

  • I just restored my 13" MBP i5 at the apple store to the newest version of Lion after issues with a previous Time Machine backup from Snow Leopard- this time I created a new account and just ported files and folders, and now MS Office doesn't work. Help?

    I just restored my 13" MBP i5 at the apple store to the newest version of Lion after issues with a previous Time Machine backup from Snow Leopard- this time I created a new account and just ported files and folders, and now MS Office doesn't work.
    ^^ that's the main problem. Here's the full history.
    I bought a new 13" i5 MBP, early 2011 edition. I had an old white Macbook 2.14 ghz core2duo on Snow Leopard. I attempted to port over my time machine backup, but encountered problems in that my User was inaccessible from the new computer after the import finished, and I had to go in and change the root password, etc, and for some reason or another, I couldn't install any programs at all from that administrator's account. By "couldn't" I mean I could install them, but upon installation they would never boot. So, I took it to the apple store and did a clean install from the most up to date Lion OSX. Then, I created a brand new admin account, instead of trying to import the old one, and things seemed great. Then, I just imported my old files from the TM backup, but not any system settings, permissions, or user data. Just my Docs, pics, vids, apps, and itunes stuff.
    Here's where things get weird again. I imported this stuff under the name "old", but all of these folders have a red negative sign on them, marking them as restricted. So, from my main admin account, I cannot even peruse these folders. Since I didn't import user data, I can't sign in to the "old" account to change permissions. I already tried to change the permissions from system preferences, but that didn't change anything. And now, for whatever reason, of all the apps that were imported then, MS Office is the only set of apps that does not work. When I click on it, it just says there was a problem and asks if I'd like to send a report to apple. I tried reinstalling it to no avail. I'm an English student, so i really need access to Word. Can anyone help? The Apple store is a major detour for me and would like to fix this issue myself.

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Windows 7 won't allow me access to some of my files and folders

    I installed a new copy of Windows 7 Professional SP1 on a new PC several months ago. I then restored my documents from a backup made on my old XP system. Ever since installation, I have had problems with Windows denying me access to some of my files
    and folders. I have full administrative rights on the machine. The various problems I've had, and steps I've taken to resolve them are:
    1. Try to open a file and get a message telling me I need permission from Steve to open this file. I am Steve.
    2.Try to open a file and get a message telling me I don't have permission to open it, but click this button to get permanent permission. I click the button, but still don't have permission.
    3. I then started opening the security settings for individual files and setting myself to have full access, and as the owner. This worked for individual files.
    4. I then tried setting the same security settings for entire folders. This didn't work and didn't improve anything.
    5. I tried setting the security settings so that Administrators owned the files/folders (I am an administrator). This also didn't achieve anything.
    6. After several months and still getting these messages, I got sick of trying to overcome them and decided to apply these security settings to my entire C: drive. I set myself to have full access and to be the owner of the C: root directory and all sub-objects.
    7. I inserted my Windows installation disk and tried to run the System Repair. It told me that System Repair was not compatible with the version of Windows I was running! WTF???
    Not only did setting permissions for the entire C: drive not help me, it has made matters a WHOLE lot worse. I now don't have permission to open almost all my files/folders. Most applications I try to run (Word, Excel, etc.) either tell me they can't open
    a file or let me open and edit it, then tell me I don't have permission to save to that location. When I press the Send/Receive button in Outlook, it now tells me I don't have permission to perform that action. I've tried going back to a restore point before
    I made this change, but that didn't change anything either.
    This problem has been driving me insane for months and now my PC is almost completely unusable and I'm considering a disk format and re-install Windows. When I initially installed it, so many problems came up in the first few weeks that I'm very reluctant
    to go through this procedure again. I spent hours and hours trawling the web looking for solutions to things that didn't work.
    Does anyone have any good news for me? Because as far as I'm concerned, Windows 7 is so far a piece of garbage.

    Hi Steve1904,
    So you have use the backup and Restore to restore your files from Windows XP to Windows 7 directly?
    This should be considered not work.
    If you would like to transfer files between Windows XP and Windows 7, you need another tool called Windows Easy Transfer.
    See the article below if you would like to upgrade from Windows XP to Windows 7:
    Upgrading from Windows XP to Windows 7
    If possible, follow the steps there, then things should be OK.
    Best regards
    Michael Shao
    TechNet Community Support

  • How do I set up my iPad for outlook files and folders

    I want to see and use, on my iPad, the same files and folders I have in outlook on my PC. Also I want any changes I make on the PC or the iPad to sync with each other.
    PC is running Windows 7,
    Outlook version 2007, not the exchange version although I think I can get that by re-installing outlook and choosing that option.(I don't understand what exchange is but don't bother to explain it unless the solution requires using it)
    I currently use Gmail for my email accounts server. They are set up as POP accounts with Outlook using a .PST data file. However, IMAP is available for Gmail. My brief past experience with IMAP and .OST data files was kind of a disaster so it isn't my 1st choice for this.
    As I understand it using Outlook 365 with Microsoft's cloud and mobile app would solve my problem but I don't like clouds, 365 or IMAP (I may have to concede on some of those). If there is a way to do it through the Gmail accounts without any other cloud  that would be ideal since they already have all my email and I won't be spreading my personal info to other companies.
    I do have a Drop Box account but I currently only use it for some well vetted specific files that I share with specific individuals.
    I do not have any computer or network drive that is always on and might serve as a private cloud. That could be changed but then i'm relying there being no ISP or power interruptions which, of course do occasionally happen.
    Obviously I'm being rather picky here knowing that I'll probably have to live with some things less than ideal.
    I will consider 3rd party apps if they seem to be part of the solution.
    Thank you in advance for any person/s that want to help me on this.
    hsvt

    Thanks. I can change the forwarding settings in Gmail to be either POP or IMAP. That is quite simple. I just looked at those settings on the Gmail server and, to my surprise, both are enabled. In order for outlook client on my computer to receive IMAP emails I have to change the email account settings in my current outlook from POP to IMAP. I don't need to be using the Exchange version of Outlook to receive IMAP. I guess I'll do a little research tomorrow on Exchange so i can figure out what, if anything, it might do for me.
    I glanced at the link you sent me and it looks like it might be very helpful - another project for tomorrow.
    BTW: I hit "This Solved my Question" by accident. I meant only to "like' your response so you would get some benefit from the help you've given me so far. I hope I haven't discouraged others from taking a shot at helping me. I suspect there is more than one way to approach this and, as you know, my problem isn't really solved until I have what I need all set up and running smoothly.

  • How can I sort all files and folders by size?

    Due to lack of space I need to find the biggest files and folders on my Mac OSX Mountain Lion, but "Size" is not in the Find options.
    And I don't know the wildcard to sort all files and folders by size in Easyfind.
    Thanks
    Sarah

    There are applications out there which are designed to show you files and the space they use.  Some of these applications and some strategies for making more room on your disk are given below.
    Freeing Up Hard Disk Space
    Freeing space on your Mac OS X startup disk
    Clearing Disk Space on Your Mac
    Seven ways to free up drive space

  • How to share files and folders between users of a same mac

    Hello,
    I would like to share a folder among users of the same Mac. I have a folder called toto, containing files and folders and i would like to share toto with other users of my mac. I would like the other users to be able to read and write every file contained in the shared folder toto.
    Is it possible ?
    Thanks a lot,
    Franck

    Yes, that works for items that are already there, but would have to keep being repeated for newly-created items.
    Actually, using chmod -R 777 <folder> raises a Unix question for me that perhaps a more knowledgeable person here can answer for both of us.
    Setting the  "x" bit on an enclosed folder would make it "searchable", which is what you want here, while setting the "x" bit on an enclosed file would make it "executable", which would not be intended.   It's  my understanding that if you use chmod -R 777 you will set the "x" bit on all enclosed items, including the files, while using, say, chmod -R a+rwX would only set the x bit on enclosed folders, not the enclosed files. My question for someone here is, should you therefore never use chmod -R 777 on an enclosing folder and instead always  use something like chmod -R a+rwX?  Does it make any difference in practice whether or not your datafiles are inadvertently made "executable?"

  • How do I get Firefox to show hidden files and folders. It should be available under help but help only gets as far as Open Containing folder and doesn't go on to show hidden files and folders

    I am trying to find the status of Adobe Flash Player on my computer. I am advised that it exists in Firefox's hidden files and folders but I cannot find such a folder

    You have an older version of Flash installed - Shockwave Flash 10.0 r45
    You can see that for yourself in Tools > Addons > Plugins
    "Show hidden files and folders" is a function of the Operating System, not an application such as Firefox. Windows Control Panel > Folder Options > View - Advanced Settings

  • "Documents" folder is empty, all files and folders disappeared.

    Hello there.
    I was trying to install a software, and since it couldn't work, I was advised to remove different files.
    Since then, seems all my files and folders from "Documents" have all disappeared. They're not in the trash, they're not anywhere.
    I'm actually using MacKeeper to try finding them among deleted stuff. But so far, nothing has showed up.
    Before anyone asks, I did not change my folder user name. Can't be this.
    Thanks for your help. I'm in real ****.
    Friendly,
    Cyrille.

    No I don't have any backups.
    The software I am talking about is Parallels Desktop.
    I had to remove those files :
    rm -rfd /Users/~Cyberpen~/Library/Preferences/com.parallels*"
    rm -rfd /Users/~You~/Library/Preferences/Parallels/*"
    rm -rfd /Users/~You~/Library/Preferences/Parallels"
    sudo m -rfd /private/var/db/Parallels/Stats/*
    sudo m -rfd /private/var/db/Parallels/Stats
    sudo m -rfd /private/var/db/Parallels
    sudo m -rfd /Library/Logs/parallels.log
    sudo m -rfd /Library/Preferences/Parallels/*
    sudo m -rfd /Library/Preferences/Parallels
    sudo m -rfd /private/var/db/Parallels
    sudo m -rfd /private/var/.Parallels_swap
    sudo m -rfd /private/var/db/receipts/'com.parallels*'
    sudo m -rfd /private/tmp/qtsingleapp-*-lockfile
    sudo m -rfd /private/tmp/com.apple.installer*/*
    sudo m -rfd /private/tmp/com.apple.installer*
    sudo m -rfd /private/var/root/Library/Preferences/com.parallels.desktop.plist
    I did this manually (didn't work with Terminal) so I had to go deep into the macbook and sometimes change permissions to access those specific files (I was probably not supposed to touch).

  • With my taking any action, my folders and files no longer appear under documents (under Places). Now a folder titled Documents has appeared on my desktop with all my files and folders. What happened?What happened?

    With my taking any action, my folders and files no longer appear under documents (under Places). Now a folder titled Documents has appeared on my desktop with all my files and folders. What happened?What happened?

    The way I moved from 10.3.9 to 10.5.8 was to use "ditto -rsrc" and copy the user homes and the data share to an external firewire drive. Then did the same in reverse.
    I found the key to data and share permissions to make sure that the users had the same UID in Leopard that they had in Panther.
    You can then use "sudo rm -rf" to remove any folder from the relocated homes that you want. Remember if you do choose to remove "~/Library" from each users relocated home, you will be removing any iCal calendars, login.keychains, browser bookmarks, custom screensavers and wallpapers, etc.
    Users don't really care if they can login and do any work. But there will be much wailing, gnashing of the teeth, and anxiety, if they lose their bookmarks and wallpaper.

  • My desktop files and folders no longer appear on the screen. I think this is a result of an iPhoto updating.  It appears (from getting info) that now Desktop is being treated like a normal file for which an application to open it must be supplied.  Help?

    My desktop files and folders no longer appear on the screen.  I think this is a result of an iPhoto updating.  It appears (from getting info) that now Desktop is being treated like a normal file for which an application to open it must be supplied.  Can anything be done?  Incila

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

Maybe you are looking for