Mac Os Make Library File Visable

From OSX 10.9 Mavericks, 10.8 Mountain Lion and 10.7 Lion, the /Library and ~/Library are hidden from the Finder – to show these directories in the GUI, launch Terminal from Applications/Utilities and run the command below with sudo and enter your admin password when requested:

  1. Mac Os File
  2. Mac Os File Format
  3. Mac Os Make Library File Visible Browser
Mac Os Make Library File Visable

to hide again:

Within the Library folder are a lot of pretty critical files that apps on your Mac need to operate. Since Mac OS X Lion and Mountain Lion, the Library folder has been hidden, to avoid people accidentally deleting critical folders and applications. Beginning with Mac OS X 10.7 (Lion) or later, the Library folder located in a user's home folder /Library is hidden by default. This tutorial covers several methods to make the Library folder visible again. Instructions Method 1: Using the Finder's Go menu. Hold down the Option key and open the Go menu in the Finder. Result: A dropdown menu.

You can apply this to any directories in the filing system – so to see the hidden contents of the private folder including /etc you would apply:

But you cannot hide/show defined invisible files/folders that are preceded by a “.” with chflags

To show all hidden files and folders, that start with a ‘.’ , back to Terminal in OSX 10.9 Mavericks:

Getting back to cleanliness:

Mac Os File

To show all hidden files and folders, that start with a ‘.’ , back to Terminal for earlier versions of OSX 10.8 and prior:

Getting back to cleanliness: Activation key free download.


Mac Os File Format

10.3: A set of AppleScripts to toggle item visiblity 6 comments Create New Account
Click here to return to the '10.3: A set of AppleScripts to toggle item visiblity' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: A set of AppleScripts to toggle item visiblity

I cannot save the invisible script.I copied and pasted everything from this hint into the script editor but when I try to save it it says:
Expected 'then', etc. but found unknown token.
It highlights the question mark in this line towards the top:
if ii ? 1 then
How can I fix this?
Mark
---
Forgive the self promotion..
Add the AboveCalifornia Sherlock channel!
sherlock://www.AboveCalifornia.com/sherlock/SherlockChannel.xml?action=add

10.3: A set of AppleScripts to toggle item visiblity

Forgive the tardiness of the response but I only just encountered this. I would have to conjecture, based on the logic, that the 'question mark' in line 23 of the 'Make Invisible' should be a 'greater than' symbol.

10.3: A set of AppleScripts to toggle item visiblity
The line

contains an error. Looks like the '?' character should be a comparison operator. If so, it didn't translate well to HTML

are some likely candidates.

---
If you're going to sin, it might as well be original

I do something like this using OnMyCommand with this context menu setting:

Mac Os Make Library File Visible Browser

10.3: A set of AppleScripts to toggle item visiblity

I am so glad someone posted this hint. I have been looking for something to do a thing like this for a few weeks now and found nothing. I've been trying to devise my own applescript using the file info commands in applescript, but apparently that is read-only. I discovered there were actually a few errors in the applescript that needed correcting and I have gone ahead and corrected them. The most worst error was with the way the POSIX path was being quoted and the fact that my iPod has an apostrophe in the name. That just killed the script outright. Anyway, it should work perfectly on just about any system now (remember, you need the developertools or at least Setfile). Oh and to the best of my reckoning, the ? that was hanging people up earlier should be a not equal sign (option-equal). That of course is fixed as well. If you find any more problems, post them.
Make Invisible
[code]
property safe_user : false
-- Change this to your username:
tell application 'Finder'
set user to the system attribute 'USER'
set selec to the selection
set N to the number of items in selec
set proceed_flag to false
if safe_user then
set selec_names to {}
repeat with ii from 1 to the count of selec
if ii is not equal to 1 then
set the end of selec_names to '; '
end if
set the end of selec_names to ¬
(the name of item ii of selec) as string
end repeat
if the button returned of (display dialog ¬
('Make the following items in the current folder invisible?' & ¬
return & return & selec_names as string) buttons ¬
{'Make invisible', 'Cancel'} default button ¬
'Cancel') is 'Make invisible' then
set proceed_flag to true
end if
else
set proceed_flag to true
end if
if N > 0 then
-- THERE IS A SELECTION: Make it/them INVISIBLE
repeat with ii from 1 to N
set this_item to (item ii of selec as alias)
my invis(this_item, user) -- subroutine to make item invisible
end repeat
if N = 1 then
say 'Item made invisible'
else
say 'Items made invisible'
end if
else
say 'No items are selected'
end if
end tell
-- Subroutine to make an item (file or folder) invisible:
on invis(this_item, user)
tell application 'Finder'
if the owner of item this_item is user then
do shell script '/Developer/Tools/SetFile -a V ' & quoted form of POSIX path of this_item
else
do shell script '/Developer/Tools/SetFile -a V ' & quoted form of POSIX path of this_item with administrator privileges
end if
end tell
end invis
[/code]
Make Visible
[code]
set the item_choices to {}
set the target_items to {}
set user to the system attribute 'USER'
tell application 'Finder'
set the target_folder to the folder of the front window as alias
set item_names to list folder (the target_folder) with invisibles
repeat with ii from 1 to the count of the item_names
if (the visible of the (info for ((target_folder as string) & ¬
(item ii of the item_names) as alias)) is false) and ¬
(the first item of (item ii of the item_names as string) ¬
is not '.') then
set the end of the item_choices to item ii of the item_names
end if
end repeat
if the number of items of item_choices is 0 then
display dialog ('No invisible files in the selected folder:' & return & ¬
POSIX path of target_folder as string) buttons 'OK' default button 'OK'
else
set the chosen_files to choose from list item_choices with prompt ¬
('Choose item(s) to make visible in:' & return & POSIX path of ¬
target_folder as string) with multiple selections allowed
if the result is not false then
repeat with ii from 1 to the count of the chosen_files
set this_item to (target_folder as string) & (item ii of the chosen_files) as alias
if the owner of this_item is user then
do shell script '/Developer/Tools/SetFile -a v ' & quoted form of POSIX path of this_item
else
do shell script '/Developer/Tools/SetFile -a v ' & quoted form of POSIX path of this_item with administrator privileges
end if
end repeat
display dialog ¬
'The Finder will have to be relaunched in order to view these files. Do that now?' buttons ¬
{'Relaunch', 'Not now'} default button 'Not Now'
if the button returned of the result is 'Relaunch' then
tell application 'Finder' to quit
delay 1
tell application 'Finder' to launch
end if
end if
end if
end tell
[/code]

10.3: A set of AppleScripts to toggle item visiblity

FYI - I installed Developer Tools and used the Make Visible script (after I saved it as an application) and it works in Jaguar 10.2.8! Panther and Jaguar supported!
If anyone has ever had an Illustrator 10 file that saved as an EPS but said 'could not save preview, but everthing else saved correctly', and the file disappeared, it actually became invisible. Running the Make Visible script on the file made it visible and allowed me to ZIP it with my project and post to meet my deadline!
15 minutes from install of DevTools to visible file - this is a ROCKIN script! Thx.