|
#1
| ||||
| ||||
| 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 |
|
#2
| ||||
| ||||
|
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 |
|
#3
| |||
| |||
|
Create your files and then use the terminal to mv them from their existing name to .name |
|
#4
| ||||
| ||||
|
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. |
|
#5
| ||||
| ||||
|
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 |
|
#6
| ||||
| ||||
|
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 |
|
#7
| |||
| |||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | |
|
|