Professional Web Applications Themes

find filenames with carriage return? - Mac Applications & Software

i'm trying to copy a large project to our server. I'm on OS X. Somehow a few files got carriage returns inserted into the filenames. OS X won't let me see them to edit them or throw them away. Is there a way to find or edit filenames with illegal characters like this?...

  1. #1

    Default find filenames with carriage return?

    i'm trying to copy a large project to our server. I'm on OS X. Somehow
    a few files got carriage returns inserted into the filenames. OS X
    won't let me see them to edit them or throw them away. Is there a way
    to find or edit filenames with illegal characters like this?
    deuedrop Guest

  2. #2

    Default Re: find filenames with carriage return?

    In <google.com> deuedrop wrote: 

    Yes, you can do this with AppleScript. m.

    --
    matt neuburg, phd = com, http://www.tidbits.com/matt
    REALbasic: The Definitive Guide! 2nd edition!
    http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt
    Subscribe to TidBITS. It's free and smart.
    matt Guest

  3. #3

    Default Re: find filenames with carriage return?

    In article <google.com>,
    com (deuedrop) wrote:
     

    although I don't know for sure, if you use the terminal to
    list/move/copy/rename files, probably the illegal characters will
    be visible.

    also,

    man find
    sam Guest

  4. #4

    Default Re: find filenames with carriage return?

    In article <google.com>,
    com (deuedrop) wrote:
     

    Use the teminal.
    The default shell tcsh will give you file name completion with tab.
    ls to list the files should give ? for non-printable characters.
    find lets you traverse entire hierarchies of directories to change names
    with mv.
    vis will give a reversible transcription of filenames that contain
    special characters.
    Also you can escape characters in the shell (usually tcsh) with the
    backslash.

    As it's too long since my Unix days I cannot offer you the complete
    solution, but reading the manual pages (eg man vis) should give you the
    tools.

    HTH

    Marc

    --
    Marc Heusser - Zurich, Switzerland
    Coaching - Consulting - Counselling - Psychotherapy
    http://www.heusser.com
    remove the obvious CHEERS and MERCIAL... from the reply address
    to reply via e-mail
    Marc Guest

Similar Threads

  1. Carriage Return
    By Barnabas (Barney) Yohannes in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: March 4th, 08:12 PM
  2. carriage return problem?
    By Jason in forum FileMaker
    Replies: 5
    Last Post: January 12th, 02:59 PM
  3. FTP doesn't add Carriage Return from VMS to NT?
    By Mike O'Neal in forum PERL Miscellaneous
    Replies: 6
    Last Post: August 12th, 07:37 PM
  4. return Carriage access 97
    By AkEEmOdO in forum Microsoft Access
    Replies: 0
    Last Post: July 28th, 03:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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