Option-f in folder name

Ask a Question related to Mac Applications & Software, Design and Development.

  1. #1

    Default Option-f in folder name

    In OS 9, I used to use option-f in a folder name... It created a nice
    italic f as a short-hand for "folder"

    For example pix option-f would be "Pix Folder"

    Warning... If you have any folders with option-f in the name, then in OS X
    you cannot navigate to these folders or anything in them from termminal.

    This may apply to other special characters in file/folder names.

    -- Sally
    --

    Sally Shears (a.k.a. "Molly")
    [email]sshears@theWorld.com[/email] -or- [email]Sally@Shears.org[/email]
    [url]http://theWorld.com/~sshears[/url]
    Sally Shears Guest

  2. Similar Questions and Discussions

    1. env Config option and LockDetect option not working with Berkeley DB RPC
      I am currently using Berkeley DB 4.4.20 with Berkeley DB perl module 0.28. I am running the client/server version of Berkeley DB. Here is what my...
    2. Can I allow access to one file within a folder, but notthe whole folder
      I want to allow access for users to edit only specific file within a folder. Can I do this Also, since I am just starting to use this on a new...
    3. no watch folder option under Distiller "settings" menu
      Using Acrobat 7 and Distiller on Mac dual G4, OS 10.4.1 512, 60GB I just purchased Acrobat 7 Standard and am unable to find where to set up a...
    4. Intercept the auto-refresh of a folder in HTML folder template
      Can anyone please send me the code to intercept the auto-refresh of a web page or folder (controlled by HTML folder template), or tell me where can...
    5. Mapping networked shared folder to local folder
      Hello. I am setting-up a "cad server" (basically a shared folder located, \\cad\eoi\) for my draftspeople. The problem lies within the cad...
  3. #2

    Default Re: Option-f in folder name

    In article <bevp7d$agv$1@pcls4.std.com>,
    Sally Shears <sshears@theWorld.com> wrote:

    :> In OS 9, I used to use option-f in a folder name... It created a nice
    :> italic f as a short-hand for "folder"
    :>
    :> For example pix option-f would be "Pix Folder"
    :>
    :> Warning... If you have any folders with option-f in the name, then in OS X
    :> you cannot navigate to these folders or anything in them from termminal.
    :>
    :> This may apply to other special characters in file/folder names.
    :>
    :> -- Sally

    In Terminal, you simply have to know the correct escape sequence in
    order to escape that character or others you might have used. Or the
    right tricks to use. :-)

    One thing you shouldn't forget is that in Terminal you can get automatic
    file/folder name completion in bash and (I believe) tcsh. In bash, I
    simply typed "cd Test" and then a tab, and it automatically provided the
    escape characters I needed. The completed name ends up being something
    like this: Test\ \306\222

    And the other trick you can often use is to drag the folder into your
    Terminal window from the Finder. Simply type "cd " (note the space),
    then drag the folder onto Terminal, and it provides the complete path to
    the folder, including the escapes needed. Unfortunately, it seems that
    this particular character prevents that one from working -- so I guess
    it's back to the folder name completion in the bash shell.

    = Steve =
    --
    Steve W. Jackson
    Montgomery, Alabama
    Steve W. Jackson Guest

  4. #3

    Default Re: Option-f in folder name

    Tom Harrington <tph@pcisys.no.spam.dammit.net> writes:
    >
    > % mkdir "Test Ÿ"
    > % cd "Test Ÿ"
    > % pwd
    > /Users/tph/Test Ÿ
    > % cd ..
    > % rmdir "Test Ÿ"
    >
    > What happens when you try to use such a folder?
    I use the option-f character frequently. I am sorry to say that in emacs,
    when I use dired, the directories show, but opening them makes emacs think
    it's a new file. None of the contents of the directories show. Bummer.

    --
    Philip Stripling | email to the replyto address is presumed
    Legal Assistance on the Web | spam and read later. email to philip@
    [url]http://www.PhilipStripling.com/[/url] | my domain is read daily.
    Phil Stripling Guest

  5. #4

    Default Re: Option-f in folder name

    In article <stevewjackson-F9365E.22021914072003@corp.supernews.com>,
    Steve W. Jackson <stevewjackson@charter.net> wrote:
    > One thing you shouldn't forget is that in Terminal you can get automatic
    > file/folder name completion in bash and (I believe) tcsh. In bash, I
    > simply typed "cd Test" and then a tab, and it automatically provided the
    > escape characters I needed. The completed name ends up being something
    > like this: Test\ \306\222
    For full compatibility with 8-bit characters (if you're using tcsh or
    bash), you have to have "Escape 8-bit char with Ctrl-V" turned on in
    Window Settings-->Emulation and "Use option key as meta key" turned
    off; for good measure, Unicode should be turned on (in Character Set
    Encoding). This allows you to directly type 8-bit characters at the
    command line and drag items containing such characters in their names
    into the Terminal window. (See
    <http://docs.info.apple.com/article.html?artnum=107258>.)

    Emily

    --
    "If it seem slow, wait for it; it will surely come, it will not delay."
    Emily Jackson
    E-mail address altered; reply to m5comp AT fastmail DOT fm
    <http://home.hiwaay.net/~emilyj/missjackson.html>
    Emily Jackson Guest

  6. #5

    Default Re: Option-f in folder name

    In article
    <150720030700548312%m5comp@fastmail-REMOVE_THIS-.fm.invalid>,
    Emily Jackson <m5comp@fastmail-REMOVE_THIS-.fm.invalid> wrote:

    :> In article <stevewjackson-F9365E.22021914072003@corp.supernews.com>,
    :> Steve W. Jackson <stevewjackson@charter.net> wrote:
    :>
    :> > One thing you shouldn't forget is that in Terminal you can get automatic
    :> > file/folder name completion in bash and (I believe) tcsh. In bash, I
    :> > simply typed "cd Test" and then a tab, and it automatically provided the
    :> > escape characters I needed. The completed name ends up being something
    :> > like this: Test\ \306\222
    :>
    :> For full compatibility with 8-bit characters (if you're using tcsh or
    :> bash), you have to have "Escape 8-bit char with Ctrl-V" turned on in
    :> Window Settings-->Emulation and "Use option key as meta key" turned
    :> off; for good measure, Unicode should be turned on (in Character Set
    :> Encoding). This allows you to directly type 8-bit characters at the
    :> command line and drag items containing such characters in their names
    :> into the Terminal window. (See
    :> <http://docs.info.apple.com/article.html?artnum=107258>.)
    :>
    :> Emily

    Well darn...if you already knew that, why'd you say you couldn't use
    them? :-) Actually, I hadn't paid much attention before your post, but
    now I've made those settings in Terminal just in case...

    Thanks,
    = Steve =
    --
    Steve W. Jackson
    Montgomery, Alabama
    Steve W. Jackson Guest

  7. #6

    Default Re: Option-f in folder name

    Steve W. Jackson <stevewjackson@charter.net> wrote:
    : In article <bevp7d$agv$1@pcls4.std.com>,
    : Sally Shears <sshears@theWorld.com> wrote:

    : :> Warning... If you have any folders with option-f in the name, then in OS X
    : :> you cannot navigate to these folders or anything in them from termminal.

    : In Terminal, you simply have to know the correct escape sequence in
    : order to escape that character or others you might have used. Or the
    : right tricks to use. :-)

    : One thing you shouldn't forget is that in Terminal you can get automatic
    : file/folder name completion in bash and (I believe) tcsh. In bash, I
    : simply typed "cd Test" and then a tab, and it automatically provided the
    : escape characters I needed. The completed name ends up being something
    : like this: Test\ \306\222

    My folder is named test option-f.

    Yes, tab completion in tsch does give the name test\ \306\222/ -- thanks
    for this tip. What are characters 306 and 222?

    : And the other trick you can often use is to drag the folder into your
    : Terminal window from the Finder.

    This is usually a good trick, but it does NOT work with option-f in the
    file name. Just does not. It gives /Users/name/Documents/test\ which does
    not work.

    Also, ls -l test* does NOT work. However, ls * gives a complete list
    including the troublesome folder, but shows it as

    test ??

    -- Sally
    --

    Sally Shears (a.k.a. "Molly")
    [email]sshears@theWorld.com[/email] -or- [email]Sally@Shears.org[/email]
    [url]http://theWorld.com/~sshears[/url]
    Sally Shears Guest

  8. #7

    Default Re: Option-f in folder name

    Emily Jackson <m5comp@fastmail-remove_this-.fm.invalid> wrote:
    : In article <stevewjackson-F9365E.22021914072003@corp.supernews.com>,
    : Steve W. Jackson <stevewjackson@charter.net> wrote:

    :> One thing you shouldn't forget is that in Terminal you can get automatic
    :> file/folder name completion in bash and (I believe) tcsh. In bash, I
    :> simply typed "cd Test" and then a tab, and it automatically provided the
    :> escape characters I needed. The completed name ends up being something
    :> like this: Test\ \306\222

    : For full compatibility with 8-bit characters (if you're using tcsh or
    : bash), you have to have "Escape 8-bit char with Ctrl-V" turned on in
    : Window Settings-->Emulation and "Use option key as meta key" turned
    : off; for good measure, Unicode should be turned on (in Character Set
    : Encoding). This allows you to directly type 8-bit characters at the
    : command line and drag items containing such characters in their names
    : into the Terminal window. (See
    : <http://docs.info.apple.com/article.html?artnum=107258>.)

    Thanks, Emily. That's interesting. Are there any downsides to turning on
    this feature? I wonder why Apple leaves it off as the default?

    I've decided to get rid of option-f file/folder names as a safer route.

    -- Sally
    --

    Sally Shears (a.k.a. "Molly")
    [email]sshears@theWorld.com[/email] -or- [email]Sally@Shears.org[/email]
    [url]http://theWorld.com/~sshears[/url]
    Sally Shears Guest

  9. #8

    Default Re: Option-f in folder name

    Tom Harrington <tph@pcisys.no.spam.dammit.net> wrote:
    : In article <bevp7d$agv$1@pcls4.std.com>,
    : Sally Shears <sshears@theWorld.com> wrote:

    :> In OS 9, I used to use option-f in a folder name... It created a nice
    :> italic f as a short-hand for "folder"
    :>
    :> For example pix option-f would be "Pix Folder"
    :>
    :> Warning... If you have any folders with option-f in the name, then in OS X
    :> you cannot navigate to these folders or anything in them from termminal.

    : That's not true:

    [Suggestion to try pwd]

    : What happens when you try to use such a folder?

    Tom, thanks for the response.

    My folder is test option-f. Looks like "test f" in the finder display,
    with an italic f.

    The only way I can navigate to it is tab-completion in tcsh.

    When I do so, the output of pwd looks just like Finder listing:

    /Users/rkarash/Documents/atest f

    The last character looks like an italic f... My newsreader won't let me
    include that character in this posting. Your posting with that character
    looks like ? to my reader.

    -- Sally
    --

    Sally Shears (a.k.a. "Molly")
    [email]sshears@theWorld.com[/email] -or- [email]Sally@Shears.org[/email]
    [url]http://theWorld.com/~sshears[/url]
    Sally Shears Guest

  10. #9

    Default Re: Option-f in folder name

    Sally Shears <sshears@theWorld.com> wrote in comp.sys.mac.system:
    > Steve W. Jackson <stevewjackson@charter.net> wrote:
    > : In article <bevp7d$agv$1@pcls4.std.com>,
    > : Sally Shears <sshears@theWorld.com> wrote:
    [snip some history]
    > Yes, tab completion in tsch does give the name test\ \306\222/ -- thanks
    > for this tip. What are characters 306 and 222?
    Well, they are characters number 198 and 146 in octal notation. Since
    that is outside the ASCII range, there is no universally agreed-upon
    meaning of the individual characters, but together they print the
    slanted "f".
    > : And the other trick you can often use is to drag the folder into your
    > : Terminal window from the Finder.
    >
    > This is usually a good trick, but it does NOT work with option-f in the
    > file name. Just does not. It gives /Users/name/Documents/test\ which does
    > not work.
    Ah, but it does with the Terminal defaults set as described. Start up
    a new terminal using the defaults (take care to *make* them defaults
    first). Then drag-and-drop from Finder gives you the same result as
    file name completion in the shell. It may be enough to open a new
    terminal window (from an already running terminal), I didn't try.
    > Also, ls -l test* does NOT work.
    I think it does, it just doesn't print anything because your test folder
    is probably empty. Try "ls -la test*".
    > However, ls * gives a complete list
    > including the troublesome folder, but shows it as
    >
    > test ??
    Some variants of the "ls" command have an option to force escape
    representation of non-printable characters, but darwin's doesn't.
    You can make it print the literal slanted "f" with the -v (verbatim)
    option, but that doesn't copy-paste very well.

    Anno
    Anno Siegel Guest

  11. #10

    Default Re: Option-f in folder name

    As long as we're discussing option-f, I'm trying to find some characters I
    can use to prefix a file or folder to force it to the bottom of an
    alphabetical list. Used to be able to use the bullet (option-8). That
    doesn't work anymore.

    So far I've only found the script f Sally is talking about (option-f) and
    the omega chatacter (option-z). BUT, thanks to Saly's posts, I presume
    these will give me trouble in the terminal. Anyone know un-optioned characters
    which will force a name to the end of a list?

    tia,

    --Fred
    Fred Moore Guest

  12. #11

    Default Re: Option-f in folder name

    Fred Moore <fmoore@gcfn.org> wrote in comp.sys.mac.system:
    > As long as we're discussing option-f, I'm trying to find some characters I
    > can use to prefix a file or folder to force it to the bottom of an
    > alphabetical list. Used to be able to use the bullet (option-8). That
    > doesn't work anymore.
    >
    > So far I've only found the script f Sally is talking about (option-f) and
    > the omega chatacter (option-z). BUT, thanks to Saly's posts, I presume
    > these will give me trouble in the terminal. Anyone know un-optioned characters
    > which will force a name to the end of a list?
    The tilde "~" is the highest printable ASCII character (126). Other high
    ones (higher than "z") are "{" (123), "|" (124), and "}" (125). Any
    of these should do.

    Anno
    Anno Siegel Guest

  13. #12

    Default Re: Option-f in folder name

    Anno Siegel (anno4000@lublin.zrz.tu-berlin.de) wrote:
    : Fred Moore <fmoore@gcfn.org> wrote in comp.sys.mac.system:
    : > As long as we're discussing option-f, I'm trying to find some characters I
    : > can use to prefix a file or folder to force it to the bottom of an
    : > alphabetical list. Used to be able to use the bullet (option-8). That
    : > doesn't work anymore.
    : >
    : > So far I've only found the script f Sally is talking about (option-f) and
    : > the omega chatacter (option-z). BUT, thanks to Saly's posts, I presume
    : > these will give me trouble in the terminal. Anyone know un-optioned characters
    : > which will force a name to the end of a list?

    : The tilde "~" is the highest printable ASCII character (126). Other high
    : ones (higher than "z") are "{" (123), "|" (124), and "}" (125). Any
    : of these should do.

    Ah, but they don't! At least in the 10.2.6. that I'm running. If I create
    a test folder, create test folders within it, view as list, then prefix
    the first one with any of the characters you mention, the order remains
    unchanged. OS X sorts on unicode not ASCII from what I have read, but I
    can't figure out the exact scheme. It doesn't seem to be by unicode number
    (if you look at the character pallet). So I'm still stumped as to finding
    non-optioned characters which will force an item to the bottom of a list.

    Thanks for replying.

    --Fred
    Fred Moore Guest

  14. #13

    Default Re: Option-f in folder name

    In article <bfj1kk$qqj$1@mamenchi.zrz.TU-Berlin.DE>,
    [email]anno4000@lublin.zrz.tu-berlin.de[/email] (Anno Siegel) wrote:
    >The tilde "~" is the highest printable ASCII character (126).
    Don't use tildes in filenames under OS X. If the filename ever
    gets handled as a URL there's a chance that the tilde will be
    interpreted as referring to your home directory.


    Simon Slavin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139