Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Hide a file type..

Hide a file type..
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2006
Status: Offline
Reply With Quote
Mar 18, 2009, 07:05 PM
 
I use a program called Ableton Live and and for any audio file i use Ableton creates a index file *****.asd.

These files are only tiny but really annoy me, what i want to do is hide every file that as a .asd extension

does anyone have a simple solution ??

cheers..
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Mar 18, 2009, 07:36 PM
 
From the built-in OS X Help:

Hiding filename extensions
The dot (.) and letters added to the end of a filename are called a “filename extension.” The filename extension identifies the type of file so that Mac OS X knows which application to use to open the file.

If you don’t want to see filename extensions, you can hide them. Mac OS X will still be able to open the files with the proper applications.

To hide filename extensions:


Click the desktop (the background area of your screen) to make sure you are in the Finder.


Choose Finder > Preferences and click Advanced.


Deselect the “Show all file extensions” checkbox.

To view the extension for an individual file, click the file’s icon to highlight it, and and then choose File > Get Info. Click Name & Extension and deselect the “Hide extension” checkbox.

Some filename extensions can’t be turned off. For example, images imported from a digital camera may continue to show the JPG extension even after you deselect “Show all filename extensions.”
Celebrating 10 years and 4000 posts on MacNN!
     
urmyuk1  (op)
Fresh-Faced Recruit
Join Date: Jan 2006
Status: Offline
Reply With Quote
Mar 18, 2009, 07:43 PM
 
sorry if i typed it wrong but, it don't want to hide the extension, i want to hide ALL the files with that extension.. Or maybe i could make them all system files so i couldn't see them ???
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
Mar 19, 2009, 08:41 PM
 
Assuming Leopard:

find -x /path/to/folder -name \*.asd -exec chflags hidden {} +

Just supply the proper "/path/to/folder".
-HI-
     
urmyuk1  (op)
Fresh-Faced Recruit
Join Date: Jan 2006
Status: Offline
Reply With Quote
Mar 22, 2009, 04:48 AM
 
Originally Posted by Hal Itosis View Post
Assuming Leopard:

find -x /path/to/folder -name \*.asd -exec chflags hidden {} +

Just supply the proper "/path/to/folder".
i don't really understand what the path/to/folder means or how to use it but i'm guessing that this would hide the files in just one folder ???

These files are in lots of different folders so would i have to apply this to all the folders or is there a way to apply it t subdirectories ???
     
Mac Elite
Join Date: Feb 2000
Location: Nashua NH, USA
Status: Offline
Reply With Quote
Mar 22, 2009, 10:16 AM
 
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
Mar 22, 2009, 01:10 PM
 
Originally Posted by urmyuk1 View Post
i don't really understand what the path/to/folder means or how to use it but i'm guessing that this would hide the files in just one folder ???
Wrong guess.

Originally Posted by urmyuk1 View Post
These files are in lots of different folders so would i have to apply this to all the folders or is there a way to apply it t subdirectories ???
The command (as written) does the entire hierarchy of "folder". [i.e., the named folder plus all its subfolders.]

You can get the proper path/to/folder by using drag-n-drop (or copy/paste) from Finder to Terminal.
-HI-
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:57 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2