Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #118094

Re: Selective rennaming of extension

From Your Name <YourName@YourISP.com>
Newsgroups comp.sys.mac.system
Subject Re: Selective rennaming of extension
Date 2018-09-12 08:50 +1200
Organization Aioe.org NNTP Server
Message-ID <pn99rf$1q7$1@gioia.aioe.org> (permalink)
References <e3TlD.36496$cL2.3015@fx43.iad>

Show all headers | View raw


On 2018-09-11 17:37:13 +0000, JF Mezei said:

> I get a folder (from a .zip) full of files such as:
> 
>> DM#3206078 - Réponse-Response - 180910-Bell Mobility-CRTC-20Jul18-307 
>> TNC 2018-98.doc
> or
>> DM#3206146 - Réponse-Response - TELUS(CRTC)20July18-205.pdf
> 
> 
> There are about a hundred files
> 
> At the gui level, is there a way to select  all the Bell Mobility files
> and changing then from .doc to .docx so the Mac can quicklook or
> "Preview" of "Pages"  can open them ?
> 
> At Command line:
> 
> With VMS, I could have done
> rename *Bell*.doc .docx
> 
> is there a simple bash way to achieve this?
> 
> Last time I tried it required I loop through each file, remove
> everything after the last dot, and rename it with the filename part just
> extracted and hardcoding the "docx" at end.
> 
> 
> Alternatively, is there a way to configure the mac to treat ".doc"
> documents as ".docx" so the same application (Preview, Pages) will
> accept them ?

Simply changing the file extension won't achieve anything ... the data 
inside will still be in .doc format, which is completely different to 
.docx.

If you really want to change them to be .docx files, you'll need to use 
an app to convert the actual file format. MS Word will of course do 
that one-by-one manually, although you might be able to use AppleScript 
/ Automator to run through a whole folder. There's probably other apps 
out there to specifically convert the format.

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Selective rennaming of extension JF Mezei <jfmezei.spamnot@vaxination.ca> - 2018-09-11 13:37 -0400
  Re: Selective rennaming of extension nospam <nospam@nospam.invalid> - 2018-09-11 13:50 -0400
    Re: Selective rennaming of extension JF Mezei <jfmezei.spamnot@vaxination.ca> - 2018-09-11 13:56 -0400
      Re: Selective rennaming of extension nospam <nospam@nospam.invalid> - 2018-09-11 14:03 -0400
      Re: Selective rennaming of extension Your Name <YourName@YourISP.com> - 2018-09-12 09:02 +1200
        Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-11 14:10 -0700
          Re: Selective rennaming of extension Jolly Roger <jollyroger@pobox.com> - 2018-09-11 22:21 +0000
            Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-11 15:27 -0700
              Re: Selective rennaming of extension Your Name <YourName@YourISP.com> - 2018-09-12 13:51 +1200
                Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-11 18:58 -0700
              Re: Selective rennaming of extension Jolly Roger <jollyroger@pobox.com> - 2018-09-13 15:15 +0000
                Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-13 08:18 -0700
            Re: Selective rennaming of extension JF Mezei <jfmezei.spamnot@vaxination.ca> - 2018-09-12 13:42 -0400
              Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-12 10:43 -0700
              Re: Selective rennaming of extension Jolly Roger <jollyroger@pobox.com> - 2018-09-13 15:16 +0000
        Re: Selective rennaming of extension Elden <usenet@moondog.org> - 2018-09-11 18:39 -0700
          Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-11 18:44 -0700
            Re: Selective rennaming of extension Your Name <YourName@YourISP.com> - 2018-09-12 18:15 +1200
              Re: Selective rennaming of extension nmassello@yahoo.com (Neill Massello) - 2018-09-12 14:14 -0600
          Re: Selective rennaming of extension Your Name <YourName@YourISP.com> - 2018-09-12 13:52 +1200
  Re: Selective rennaming of extension Jolly Roger <jollyroger@pobox.com> - 2018-09-11 18:17 +0000
    Re: Selective rennaming of extension JF Mezei <jfmezei.spamnot@vaxination.ca> - 2018-09-11 15:32 -0400
      Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-11 12:36 -0700
      Re: Selective rennaming of extension Jolly Roger <jollyroger@pobox.com> - 2018-09-11 22:18 +0000
      Re: Selective rennaming of extension Lewis <g.kreme@gmail.com.dontsendmecopies> - 2018-09-12 08:23 +0000
        Re: Selective rennaming of extension Alan Baker <nunya@ness.biz> - 2018-09-12 08:45 -0700
  Re: Selective rennaming of extension Your Name <YourName@YourISP.com> - 2018-09-12 08:50 +1200

csiph-web