Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #118085 > unrolled thread
| Started by | JF Mezei <jfmezei.spamnot@vaxination.ca> |
|---|---|
| First post | 2018-09-11 13:37 -0400 |
| Last post | 2018-09-12 08:50 +1200 |
| Articles | 7 on this page of 27 — 8 participants |
Back to article view | Back to comp.sys.mac.system
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
Page 2 of 2 — ← Prev page 1 [2]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2018-09-11 18:17 +0000 |
| Message-ID | <fvqf67Fra81U1@mid.individual.net> |
| In reply to | #118085 |
On 2018-09-11, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > > 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 Is selecting them all and choosing File > Rename not working for some reason? > At Command line: > > With VMS, I could have done > rename *Bell*.doc .docx > > is there a simple bash way to achieve this? Not bash, but I use Perl's "rename" command all the time: rename -n 's/.doc/.docx/' *.doc > Alternatively, is there a way to configure the mac to treat ".doc" > documents as ".docx" so the same application (Preview, Pages) will > accept them ? Ummm.... File > Get Info > Open With > Change All, anyone? -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR
[toc] | [prev] | [next] | [standalone]
| From | JF Mezei <jfmezei.spamnot@vaxination.ca> |
|---|---|
| Date | 2018-09-11 15:32 -0400 |
| Message-ID | <BLUlD.39833$8r2.22750@fx34.iad> |
| In reply to | #118089 |
On 2018-09-11 14:17, Jolly Roger wrote: > Is selecting them all and choosing File > Rename not working for some > reason? Ahh ! Miracle ! yes, that works. Allows me to change text in the selected file names. (so I can change .doc to .docx). Thanks. Didn't realise that File->Rename gave that flexibility. > Ummm.... File > Get Info > Open With > Change All, anyone? Wouldn't change since the file extenstion already points to the right applications. It is the Apple applications that refuse to open .doc whose content is the modern version (akd the xml stuff).
[toc] | [prev] | [next] | [standalone]
| From | Alan Baker <nunya@ness.biz> |
|---|---|
| Date | 2018-09-11 12:36 -0700 |
| Message-ID | <pn95fb$1pnp$1@gioia.aioe.org> |
| In reply to | #118090 |
On 2018-09-11 12:32 PM, JF Mezei wrote: > On 2018-09-11 14:17, Jolly Roger wrote: > >> Is selecting them all and choosing File > Rename not working for some >> reason? > > Ahh ! Miracle ! yes, that works. Allows me to change text in the > selected file names. (so I can change .doc to .docx). > > Thanks. > > Didn't realise that File->Rename gave that flexibility. You mean "didn't bother doing any research into this at all", don't you? <https://www.google.ca/search?q=rename+multiple+file+extensions+mac&oq=rename+multiple+file+extensions+mac&aqs=chrome..69i57.14688j0j7&sourceid=chrome&ie=UTF-8> First link: <https://www.imore.com/how-rename-multiple-files-once-mac> > >> Ummm.... File > Get Info > Open With > Change All, anyone? > > Wouldn't change since the file extenstion already points to the right > applications. It is the Apple applications that refuse to open .doc > whose content is the modern version (akd the xml stuff). > > >
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2018-09-11 22:18 +0000 |
| Message-ID | <fvqta9Fu48vU1@mid.individual.net> |
| In reply to | #118090 |
On 2018-09-11, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > On 2018-09-11 14:17, Jolly Roger wrote: > >> Is selecting them all and choosing File > Rename not working for some >> reason? > > Ahh ! Miracle ! yes, that works. Allows me to change text in the > selected file names. (so I can change .doc to .docx). > > Thanks. > > Didn't realise that File->Rename gave that flexibility. > >> Ummm.... File > Get Info > Open With > Change All, anyone? > > Wouldn't change since the file extenstion already points to the right > applications. It is the Apple applications that refuse to open .doc > whose content is the modern version (akd the xml stuff). It'd be pretty unrealistic to expect changing the filename extension will change the file content. If the contents are XML, the correct filename extension is "docx". Applications that can read traditional Word documents with the "doc" extension can't be forced to read the newer XML format "docx" files simply by changing the filename extension. Applications must be written to support the newer XML format. And several of Apple's applications do indeed support the newer XML format: I just tried it and Pages does indeed open documents with the newer XML format. Quicklook can display them on my Mac Pro running macOS 10.13. Preview and TextEdit can open them too. iOS also has support for reading the newer XML format So you should be able to easily set File > Get Info > Open With to those apps and click Change All to set one of them as the > default app for those documents. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Date | 2018-09-12 08:23 +0000 |
| Message-ID | <slrnpphj7e.2bme.g.kreme@Snow.local> |
| In reply to | #118090 |
In message <BLUlD.39833$8r2.22750@fx34.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > On 2018-09-11 14:17, Jolly Roger wrote: >> Is selecting them all and choosing File > Rename not working for some >> reason? > Ahh ! Miracle ! yes, that works. Allows me to change text in the > selected file names. (so I can change .doc to .docx). > Thanks. > Didn't realise that File->Rename gave that flexibility. >> Ummm.... File > Get Info > Open With > Change All, anyone? > Wouldn't change since the file extenstion already points to the right > applications. It is the Apple applications that refuse to open .doc > whose content is the modern version (akd the xml stuff). .doc and .docx are different file formats. Renaming the files will almost certainly cause problems, including data corruption of data loss. -- He [Carrot] could lead armies, Angua thought. He really could. Some people have inspired whole countries to great deeds because of the power of their vision. And so could he. Not because he dreams about marching hordes, or world domination, or an empire of a thousand years. Just because he thinks that everyone's really decent underneath and would get along just fine if only they made an effort, and he believes that strongly it burns like a flame that is bigger than he is.
[toc] | [prev] | [next] | [standalone]
| From | Alan Baker <nunya@ness.biz> |
|---|---|
| Date | 2018-09-12 08:45 -0700 |
| Message-ID | <pnbcat$1aac$1@gioia.aioe.org> |
| In reply to | #118118 |
On 2018-09-12 1:23 AM, Lewis wrote: > In message <BLUlD.39833$8r2.22750@fx34.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: >> On 2018-09-11 14:17, Jolly Roger wrote: > >>> Is selecting them all and choosing File > Rename not working for some >>> reason? > >> Ahh ! Miracle ! yes, that works. Allows me to change text in the >> selected file names. (so I can change .doc to .docx). > >> Thanks. > >> Didn't realise that File->Rename gave that flexibility. > >>> Ummm.... File > Get Info > Open With > Change All, anyone? > >> Wouldn't change since the file extenstion already points to the right >> applications. It is the Apple applications that refuse to open .doc >> whose content is the modern version (akd the xml stuff). > > .doc and .docx are different file formats. Renaming the files will > almost certainly cause problems, including data corruption of data loss. > > > No. Changing the extension will not cause data corruption or data loss. Microsoft Word doesn't care what the extension is when it reads the file's data.
[toc] | [prev] | [next] | [standalone]
| From | Your Name <YourName@YourISP.com> |
|---|---|
| Date | 2018-09-12 08:50 +1200 |
| Message-ID | <pn99rf$1q7$1@gioia.aioe.org> |
| In reply to | #118085 |
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.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.sys.mac.system
csiph-web