How To Show Hidden Files In Mac OS Finder And Select Hidden Files In Html Upload File Form

When you use Mac OS Finder to browse files, you will find it can not display hidden files. This is Mac OS default settings. But this is not user friendly when you need to select hidden files in Mac OS finder to submit the hidden files to a web server. So this article will tell you how to make the hidden files viewable in your Mac OS Finder, and how to select hidden files when you need to submit them to web server.

1. How To Enable Show Hidden Files In Mac OS Finder.

  1. Open a terminal.
  2. Enter command defaults write com.apple.finder AppleShowAllFiles TRUE in the terminal to enable show hidden files in Mac OS Finder option.
    $ defaults write com.apple.finder AppleShowAllFiles TRUE
  3. Enter command killall Finder in the terminal to close all existing Finder windows. Now when you open a new Mac OS Finder, you can see the hidden files listed in it.
    $ killall Finder

2. How To Disable Show Hidden Files In Mac OS Finder.

  1. Open a terminal.
  2. Enter command defaults write com.apple.finder AppleShowAllFiles FALSE in the terminal, this command will disable show hidden files in Mac OS Finder option.
    $ defaults write com.apple.finder AppleShowAllFiles FALSE
  3. Close all existing finder window with command killall Finder in the terminal. Now you can not see the hidden files in Mac OS Finder.

3. How To Select Hidden Files When You Use Html File Upload Form.

When you want to upload hidden files in html form, after you click the Choose Files button in html page, you will find that you can not browse and choose the hidden files in the popup browse file dialog window even you follow above method to make the hidden files or folders viewable in Mac OS Finder.

READ :   How To Install VMware Fusion Virtual Machine On Mac Correctly

html file upload form component

To fix this issue, you can first make the hidden files or folders unhidden in Mac OS Finder, then choose and submit the unhidden files to the web server follow below steps.

  1. Right click the hidden files or folder, then click Rename menu item in the popup menu list.
    mac os finder popup menu rename menu item
  2. Remove the dot ( . ) at the beginning of the file or folder name to make the file or folder unhidden.
    remove the dot at the beginning of the name of the folder or file to make it viewable
  3. Now when you click the Choose Files button, you can browse and choose the hidden file or folder that is unhidden now. But after you submit them to the web server, please do not forget to change it back to hidden again by add dot (.) at the beginning of the file or folder name.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.