I always knew I'd rue the days I didn't merely right-click practically every image/movie of my grandkids (and a few other folks) and choose 'Add to Photos
Library'.
Is there any easy way to go back and harvest them all? We're talking texts going back to the original iPhone days! If there isn't an app there damn well
should be. Perhaps it's simply scriptable?
I know the process would take some serious time as when I go back not too far
the item must be redownloaded.
Not really. I created an archive of all the png/jpg images in my Message hsitory in a couple of minutes using the command line.
On 2020-09-01, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
On Sep 1, 2020, Lewis wrote
(in article <slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
cp: **/*.jpg: No such file or directory
mes-MacBook-Pro:Attachments me$ cp **/*.jpg/~/Pictures/Messages
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
mes-MacBook-Pro:Attachments me$
—
t
On Sep 1, 2020, Lewis wrote
(in article <slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
On Tuesday, 01 September 2020 15:39 -0500,
in article <0ky3H.296313$0W4.58193@fx42.iad>,
Tim Lance <not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
Lewis seems to be missing some slashes ("/") in his commands, which
indicate directories.
cd ~/Library/Messages/Attachments
cp */*/*.jpg [targetfolder]
cp */*/*.png [targetfolder]
It is up to you to create the target folder, where "[targetfolder]" is
the full path to the directory where you want the copies saved.
I have files with both upper case and lower case file extensions, in
/Library/Messages/Attachments/. You may wish to include:
cp */*/*.JPG [targetfolder]
On Sep 1, 2020, Lewis wrote
(in article <slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger
<jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message >> > > hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
On Sep 1, 2020, Tim Lance wrote
(in article <0ky3H.296313$0W4.58193@fx42.iad>):
On Sep 1, 2020, Lewis wrote
(in article <slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger
<jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to
copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
cp: **/*.jpg: No such file or directory
mes-MacBook-Pro:Attachments me$ cp **/*.jpg/~/Pictures/Messages
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory >>
mes-MacBook-Pro:Attachments me$
—
t
Is it something about the fact that there are three more weirdly named folder
levels between ~/Library Messages/Attachments and actual files?
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there areno jpg files in the Message Attachments folder.
On Sep 1, 2020, Lewis wrote
(in article <slrnrku0nm.14a0.g.kreme@ProMini.lan>):
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org> wrote: >> > On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):no jpg files in the Message Attachments folder.
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger
<jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to
copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there are
I found 50+ jpg files and almost 600 jpeg. Several more going uppercase on extensions.
But I just noticed the real problem is they only go back to 2018 when I have texts with attachments going back many more years. Drilling down in the ~/Library/Messages directory shows nothing prior to 2018.
In message<IMD3H.160137$9r7.116836@fx07.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrku0nm.14a0.g.kreme@ProMini.lan>):
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there areno jpg files in the Message Attachments folder.
I found 50+ jpg files and almost 600 jpeg. Several more going uppercase on extensions.
Case does not matter, unless you (or someone else) has made changes on
your Mac's terminal. jpeg would have to be a separate step.*
But I just noticed the real problem is they only go back to 2018 when I have
texts with attachments going back many more years. Drilling down in the
/Library/Messages directory shows nothing prior to 2018.
You have texts with attachments WHERE?
* Yes yes, I know, Shush, up.
In message <hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message >>> hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
On 2020-09-01, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
In message <hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my Message >>>> hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
Ah, so you're just copying them from the attachments folder. Thanks.
I have so many images in mine, I get an "argument list too long error".
So I used the find command instead:
find . -type f -iname '*.jpg' -or -iname '*.png' -exec cp {} ~/Desktop/Message\ Attachments \;
On Sep 2, 2020, Lewis wrote
(in article <slrnrkurmi.1u96.g.kreme@ProMini.lan>):
In message<IMD3H.160137$9r7.116836@fx07.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrku0nm.14a0.g.kreme@ProMini.lan>):
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org>
wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger
<jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote: >> > > > > > >
Not really. I created an archive of all the png/jpg images in my >> > > > > > > Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to
copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there are >> > > no jpg files in the Message Attachments folder.
I found 50+ jpg files and almost 600 jpeg. Several more going uppercase on >> > extensions.
Case does not matter, unless you (or someone else) has made changes on
your Mac's terminal. jpeg would have to be a separate step.*
But I just noticed the real problem is they only go back to 2018 when I have
texts with attachments going back many more years. Drilling down in the
/Library/Messages directory shows nothing prior to 2018.
You have texts with attachments WHERE?
* Yes yes, I know, Shush, up.
Texts in the Messages app go back before 2015. Some of those texts have pix or movies. But the attachments in ~/Library/Messages/Attachments only go back
to 2018.
Thanks for sticking with me.
There are also files in the folders with the suffix
pluginPayloadAttachment but I haven't looked into those. I assumed they
help URLs and previews of those URLs.
In message<llM3H.296318$0W4.199259@fx42.iad> Tim Lance<not@here.org> wrote:Yes. On my MacBook Pro. I do text on iPhone and iPad. All the files I care about are family stuff (mostly of grandkids) and we all are Apple exclusive and do have iCloud active for everything.
On Sep 2, 2020, Lewis wrote
(in article<slrnrkurmi.1u96.g.kreme@ProMini.lan>):
In message<IMD3H.160137$9r7.116836@fx07.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrku0nm.14a0.g.kreme@ProMini.lan>):
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my
Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there areno jpg files in the Message Attachments folder.
I found 50+ jpg files and almost 600 jpeg. Several more going uppercase on
extensions.
Case does not matter, unless you (or someone else) has made changes on your Mac's terminal. jpeg would have to be a separate step.*
But I just noticed the real problem is they only go back to 2018 when I have
texts with attachments going back many more years. Drilling down in the
/Library/Messages directory shows nothing prior to 2018.
You have texts with attachments WHERE?
* Yes yes, I know, Shush, up.
Texts in the Messages app go back before 2015. Some of those texts have pix or movies. But the attachments in ~/Library/Messages/Attachments only go back
to 2018.
In the messages app ON YOUR MAC?
This makes no sense, if the app is showing the attachments they must bethose files go back to 1918 and so when I click to download they appear
on your computer. Now it gets very crazy. Some back past September 2019 the attachments show in texts have icons to download them. Where it gets crazy is
There are also files in the folders with the suffix
pluginPayloadAttachment but I haven't looked into those. I assumed they
help URLs and previews of those URLs.
Nearly all my message are from other Messages users, and not from SMS message. This may make a difference?
Thanks for sticking with me.
So, getting ALL the attachments will require a lot more work.
On Sep 2, 2020, Lewis wrote
(in article <slrnrkvj44.2t00.g.kreme@ProMini.lan>):
In message<llM3H.296318$0W4.199259@fx42.iad> Tim Lance<not@here.org> wrote:
On Sep 2, 2020, Lewis wrote
(in article<slrnrkurmi.1u96.g.kreme@ProMini.lan>):
In message<IMD3H.160137$9r7.116836@fx07.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrku0nm.14a0.g.kreme@ProMini.lan>):
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org>
wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my
Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to
copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there areno jpg files in the Message Attachments folder.
I found 50+ jpg files and almost 600 jpeg. Several more going uppercase
on
extensions.
Case does not matter, unless you (or someone else) has made changes on your Mac's terminal. jpeg would have to be a separate step.*
But I just noticed the real problem is they only go back to 2018 when I
have
texts with attachments going back many more years. Drilling down in the
/Library/Messages directory shows nothing prior to 2018.
You have texts with attachments WHERE?
* Yes yes, I know, Shush, up.
Texts in the Messages app go back before 2015. Some of those texts have pix
or movies. But the attachments in ~/Library/Messages/Attachments only go back
to 2018.
In the messages app ON YOUR MAC?Yes. On my MacBook Pro. I do text on iPhone and iPad. All the files I care about are family stuff (mostly of grandkids) and we all are Apple exclusive and do have iCloud active for everything.
This makes no sense, if the app is showing the attachments they must bethose files go back to 1918 and so when I click to download they appear almost instantly. I presume because they are in fact already in the Attachments folder.
on your computer. Now it gets very crazy. Some back past September 2019 the attachments show in texts have icons to download them. Where it gets crazy is
There are also files in the folders with the suffix
pluginPayloadAttachment but I haven't looked into those. I assumed they help URLs and previews of those URLs.
Nearly all my message are from other Messages users, and not from SMS message. This may make a difference?
Thanks for sticking with me.
—
t
On Sep 2, 2020, Tim Lance wrote
(in article <RgR3H.241429$7vd.32047@fx35.iad>):
On Sep 2, 2020, Lewis wrote
(in article <slrnrkvj44.2t00.g.kreme@ProMini.lan>):
In message<llM3H.296318$0W4.199259@fx42.iad> Tim Lance<not@here.org> wrote:
On Sep 2, 2020, Lewis wrote
(in article<slrnrkurmi.1u96.g.kreme@ProMini.lan>):
In message<IMD3H.160137$9r7.116836@fx07.iad> Tim Lance<not@here.org> wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrku0nm.14a0.g.kreme@ProMini.lan>):
In message<0ky3H.296313$0W4.58193@fx42.iad> Tim Lance<not@here.org>
wrote:
On Sep 1, 2020, Lewis wrote
(in article<slrnrkt38l.2cb2.g.kreme@ProMini.lan>):
In message<hr7cddFu094U1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
On 2020-09-01, Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
Not really. I created an archive of all the png/jpg images in my
Message
hsitory in a couple of minutes using the command line.
Nice. Share details, please. : )
cd ~/Library/Messages/Attachments
cp **/*.jpg /target/folder
cp **/*.png /target/folder
(I could have combined the copies into one line, but I didn’t)
So much thanks. However my skill with UNIX extends to my ability to
copy/paste. I hope you are willing to continue your help.
Below I paste what I got. I have no clue what to do.
mes-MacBook-Pro:~ me$ cd ~/Library/Messages/Attachments
mes-MacBook-Pro:Attachments me$ cp **/*.jpg /~/Pictures/Messages
/Pictures/Messages without the leading /, but it looks like there areno jpg files in the Message Attachments folder.
I found 50+ jpg files and almost 600 jpeg. Several more going uppercase
on
extensions.
Case does not matter, unless you (or someone else) has made changes on
your Mac's terminal. jpeg would have to be a separate step.*
But I just noticed the real problem is they only go back to 2018 when I
have
texts with attachments going back many more years. Drilling down in the
/Library/Messages directory shows nothing prior to 2018.
You have texts with attachments WHERE?
* Yes yes, I know, Shush, up.
Texts in the Messages app go back before 2015. Some of those texts have pix
or movies. But the attachments in ~/Library/Messages/Attachments only go
back
to 2018.
In the messages app ON YOUR MAC?Yes. On my MacBook Pro. I do text on iPhone and iPad. All the files I care about are family stuff (mostly of grandkids) and we all are Apple exclusive and do have iCloud active for everything.
This makes no sense, if the app is showing the attachments they must be on your computer. Now it gets very crazy. Some back past September 2019 thethose files go back to 1918 and so when I click to download they appear almost instantly. I presume because they are in fact already in the Attachments folder.
attachments show in texts have icons to download them. Where it gets crazy
is
There are also files in the folders with the suffix pluginPayloadAttachment but I haven't looked into those. I assumed they help URLs and previews of those URLs.
Nearly all my message are from other Messages users, and not from SMS message. This may make a difference?
Thanks for sticking with me.
—
t
Hey! A question about dates. I’ve said the stuff in Attachments only goes back to 2018. That was the last time I did a totally clean install. When iCloud was turned on and all the old stuff came down. Even if an attachment was originally texted in say 2015 would the file created date not be 2018 since that is when they were put onto my computer?
I did not actually look through those 600+ images last night.
—
t
In message<slrnrkvkv8.1q1g.g.kreme@ProMini.lan> Lewis<g.kreme@gmail.com.dontsendmecopies> wrote:
So, getting ALL the attachments will require a lot more work.
Maybe not so much work.
Here is what I did.
Get all the pluginPayloadAttachment files and there type into a file
$ for file in **/*pluginPayloadAttachment; do file $file>> ~/Desktop/Attachments.txt; done
Open the file in BBEdit (I believe this all works in the free version)
$ bbedit ~/Desktop/Attachments.txt
Then, in BBEdit I first added a line number to each line (about 20,000)
using Text menu => Add/reove line numbers.
I used the text menu "Process lines containing" and removed all the
lines that matched ": empty " or ": MS " (note the spaces) as I did not
care about MS icon files.
Then, I ran a search and replace:
Find: ^ *([^ ]+) ([^:]*): ([^ ]+) (.*)$
replace with: cp -a \2 ~/desktop/Attachments/\1.\3 # \4
The find first captures the line number with any optional leading spaces
from the strart of the line this is \1
^ *([^ ]+)
Followed by a space, and then captures the name of the file (everything
up to the first : character) followed by the colon and a space. This is
\2
([^:]*):
Then, it captures the next set of non space characters (JPEG, ISO, PNG,
etc) this i s \3
([^ ]+)
And then it finally captures the rest of the line (this part is
optional). this is \4
(.*)$
Now, Replace with cp -a<filename><path/to/folder><linenumber><the
JPEG, ISO, PNG, etc string), a # character, and the rest of the line.
Finally, I search for ISO and change it to mp4 and MS and cahnge iot to
ico.
the lines end up looking like this:
cp -a 02/02/BC1F8714-91D6-48AA-8753-251AB0198389/06F44D03-2DF9-4E81-89BA-E0894
8F369A7.pluginPayloadAttachment ~/desktop/Attachments/253.PNG # image data, 1024 x 465, 8-bit/color RGBA, non-interlaced
The # is a comment character in bash or zsh, so the rest of the line
after that is ignored by the shell, but it seemed worth keeping around
at least for now.
I can save the file and source it from the commandline, or I can use the
paid BBEdit feature of using a shell worksheet. This has proved to be
useful as there were a very few (less than 20) gif files, a couple fo
"PC" files ("PC bitmap 15x16x24" that I do not care about).
The vast majority of these files are tiny tiny files, and scanning
trough all of them is not worth it for me, so I an starting at the top
and scanning down. I doubt I will look at anything under 100K (90% of
mine). Most of the small ones appear to be favicon files from websites
and glyohs that are renderd as images instead of proper utf-8
characters. Probably stuff I go from Android users?
I may be a tad bit bored and have a wee bit of a problem,. Who can say.
Hey! A question about dates. I’ve said the stuff in Attachments only goes back to 2018. That was the last time I did a totally clean install. When iCloud was turned on and all the old stuff came down. Even if an attachment was originally texted in say 2015 would the file created date not be 2018 since that is when they were put onto my computer?
I did not actually look through those 600+ images last night.
In message<ylR3H.398130$eN2.158704@fx47.iad> Tim Lance<not@here.org> wrote:
Hey! A question about dates. I’ve said the stuff in Attachments only goes back to 2018. That was the last time I did a totally clean install. When iCloud was turned on and all the old stuff came down. Even if an attachment was originally texted in say 2015 would the file created date not be 2018 since that is when they were put onto my computer?
I am not sure, but I would think the dates would be preserved.
I did not actually look through those 600+ images last night.
View by icon in the finder, set the size slider to large, and just page
down. Should give you a decent idea of what is there.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 546 |
Nodes: | 10 (1 / 9) |
Uptime: | 11:54:56 |
Calls: | 5746 |
Calls today: | 3 |
Files: | 181485 |
Messages: | 1178019 |