New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - View .htaccess files


Post Reply New Thread Subscribe

 
Thread Tools
Johnson

 
Member Since: Aug 02, 2006
Posts: 30
Johnson is on a distinguished road
Mac Specs: 13" MBP i5

Johnson is offline
I know how to unhide all hidden files, but I'd rather not as I see a lot of crap all over. Is there any way I can only unhide .htaccess files and leave all the other hidden files hidden?

Thanks.
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,144
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
Use the SetFile command that comes with Developer Tools
QUOTE Thanks
Johnson

 
Member Since: Aug 02, 2006
Posts: 30
Johnson is on a distinguished road
Mac Specs: 13" MBP i5

Johnson is offline
Sorry, but could you explain that in detail?
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,144
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
Develpoers tools comes with new macs and is also downloadable at the apple adc website but requires you to create an account. You need to install these tools, which may already be install on your Mac. This can be verified by looking in Macintosh HD and if there is a folder called Developer then you got 'em. There is a program/file within the tools called SetFile.

Stopping,...

If you want to continue, the use of the terminal is required.

cmd-shift-g then type /sbin then enter and a windows opens. copy SetFile into /sbin

Then open the terminlal and type man SetFile this will tell you how to use SetFile to change visibility of a file. Or just google using SetFile in OS X.
QUOTE Thanks
AlexM

 
AlexM's Avatar
 
Member Since: Aug 07, 2005
Location: Québec, Canada
Posts: 20
AlexM is on a distinguished road
Mac Specs: iBook G4 14", Intel-iMac 17"

AlexM is offline
Since OS X hides every file with a name that starts with a ., I use this Applescript to toggle "view/hide system files" when I need to see my .htaccess

Code:
set dotVisible to do shell script "defaults read com.apple.Finder AppleShowAllFiles"
if dotVisible = "0" then
	do shell script "defaults write com.apple.Finder AppleShowAllFiles 1"
else
	do shell script "defaults write com.apple.Finder AppleShowAllFiles 0"
end if
tell application "Finder" to quit
delay 1
tell application "Finder" to activate
QUOTE Thanks

Post Reply New Thread Subscribe


« Palm wearing Mac OS X | How to change an "easy name" »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
List view vs. Icon view - can't see all files =^o.o^= Switcher Hangout 8 01-20-2007 06:39 PM
Viewing .htaccess files on the Mac? PromoPunch Web Design and Hosting 4 05-08-2006 11:30 AM
Bridge Slide Show trouble Benjamindaines Images, Graphic Design, and Digital Photography 2 10-01-2005 06:23 PM
Slide view instead of notes view in PowerPoint? edokid Switcher Hangout 2 11-03-2004 05:23 PM
how can i view avi files mcguigan86 Movies and Video 8 02-15-2004 09:24 PM

All times are GMT -4. The time now is 08:03 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?