Finder handling of .htaccess and other "dot" files...

TommyWillB

Registered
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?
 
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.
 
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.
 
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...)
 
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...
 
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
 
Back
Top