image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old January 2nd, 2003, 08:47 PM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,020
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
Finder handling of .htaccess and other "dot" files...

Jadey did a nice how to on .htaccess authentication, but this question is a tangent from that... (and may not actually belong in this thread. since it is sort of a GUI/Finder question..)

My question is more about the way the Finder deal with . files... If possibly I'd rather not resort to the command line every time I want to create and .htaccess file... but the finder complains whenever I try to name a file starting with a dot.

I cheated for the moment and simply created a symbolic link (yes, in the command line) from .htaccess to htaccess. This created numerous problems...

I know I can use Tinker Tool to show .htaccess files in the Finder, but what do I need to do to make it allow me to create these files?



...and if I were to name these files something else, what would you reccomend?
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
  #2  
Old January 2nd, 2003, 11:01 PM
Captain Code's Avatar
Moderator
 
Join Date: Aug 2001
Location: Ontario, Canada
Posts: 3,119
Thanks: 0
Thanked 4 Times in 1 Post
Captain Code will become famous soon enough
I don't think the finder will let you make any files that start with a period.

I'm betting that that function of the finder is hard coded into it, so there probably isn't any way of changing it.
__________________
MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
Athlon 64 Windoze XP for school work (programming) 1GB RAM
dferns@macosx.com
Reply With Quote
  #3  
Old January 2nd, 2003, 11:18 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
Create your files and then use the terminal to mv them from their existing name to .name
Reply With Quote
  #4  
Old January 3rd, 2003, 07:26 PM
slur's Avatar
Geek / Hedonist
 
Join Date: Dec 2000
Location: Florence, MA
Posts: 542
Thanks: 0
Thanked 0 Times in 0 Posts
slur is on a distinguished road
Or if you have the latest BBEdit just go to the terminal and enter:

bbedit -c .htaccess

If not you can just use TextEdit like so:

open /Applications/TextEdit.app .htaccess

If you're messing around with .htaccess I assume you're also going to be messing with Apache configuration. You might find it more convenient to just use the terminal-based editors vi or pico since you'll be in the Terminal anyhow.
__________________
|
| slur was here
|

check out my creative music software
Reply With Quote
  #5  
Old January 4th, 2003, 01:44 AM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,020
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
gatorparrots,
slur,

I think you both missed the point... The question was how to do it in the GUI withOUT resorting to the CLI.

So I really do NOT have anyting against doing things on the commnds line, but this will never truely be an "Apple Macintonsh" unless it can ALSO be done via the GUI.

I don't really care if the GUI way is lame, but the CLI must be and alternative and not the ONLY way to do the things we need to do.

(Sorry... I didn't mean to rant... I know rants belong in some other thread...)
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
  #6  
Old January 4th, 2003, 01:56 AM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,020
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
Speqaking of BBEdit... if I turn FTP on, then I can use BBEdit to create/open/save files with a ".". I just need to use the Open FTP/Save FTP options...

But I'm going to submit feedback to Apple because I still think there ought to be a Finder GUI way of doing this...
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
  #7  
Old January 17th, 2003, 09:09 PM
Registered User
 
Join Date: Jan 2003
Location: Yokohama, Japan
Posts: 417
Thanks: 3
Thanked 1 Time in 1 Post
Harvey is on a distinguished road
Related topic, in what directory do mounted devices get put in?

My smartmedia usb drive creates .trash files when deleting items from it in OSX,and not sure how to go thru the command line to delete those .trash files once and for all.

Thanks
__________________
http://www.japannewbie.com
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.