Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)

Liste des GroupesRevenir à csm misc 
Sujet : Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)
De : dbrooks (at) *nospam* runforyourlife.org (Dudley Brooks)
Groupes : comp.sys.mac.misc
Date : 02. May 2024, 18:34:20
Autres entêtes
Organisation : Run For Your Life! ... it's a dance company
Message-ID : <v10iqu$3vq29$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
On 5/2/24 8:42 AM, Jolly Roger wrote:

On 2024-05-02, Jolly Roger <jollyroger@pobox.com> wrote:
>
On 2024-05-02, Dudley Brooks <dbrooks@runforyourlife.org> wrote:
>
On 4/30/24 3:56 PM, Jolly Roger wrote:
>
On 2024-04-30, Dudley Brooks <dbrooks@runforyourlife.org> wrote:
On 4/30/24 8:56 AM, Jolly Roger wrote:
>
I would use comma characters for delimiters to make it a CSV file,
then open that in a spreadsheet program.
>
I was just thinking about that.  Thanks!  (I think Excel can
separate on tabs as well, though.  But it's always good to have
different options.  And maybe it saves you from having to do
copy-and-paste.)
>
One more thing, if either of you knows why this might be:
>
If <filename> has not already been created, I get an error message.
>
If I create <filename> first, there's no error message, and it seems
to be running fine ... except ... it doesn't seem to do anything --
nothing gets written to <filename>!
>
Any ideas?  Maybe it's another casualty of over-full HD?
>
What is the command you are using,
>
Exactly what Jim Gibson suggested:
>
stat <flags, etc.> * > <file>
>
I'm asking for the exact command you are using, verbatim.
(See below.)

and what is the error output?
>
Today, when <file> doesn't exist, no error message.  Can't recreate
error message from yesterday.  (Maybe because I cleared a lot of stuff
off my HD?)
>
You don't remember what the message was?
No, that was several days ago, late at night.  I was exhausted and just didn't want to think about it anymore.  Unfortunately, I didn't write it down.  I figured I could just do it again to see the message. (Un)fortunately the error didn't happen again.

I just tried this command in my home directory and it works fine
regardless of whether the file exists:
 # stat -f '%SN,%SB,%Sm' * > file_times.txt
That worked for me today.
What I used, verbatim, was Jim Gibson's suggestion:
stat -f '%SN%t%SB%t%Sm' * > file_times.txt
As you see, identical to yours, except you use commas and he used tabs.
When I tried it a couple of days ago (copied and pasted from his message, so it was exactly the above) it did not print anything to the file.
When I tried it yesterday (copied and pasted from his message, so it was exactly the above) it did not print anything to the file.
When I tried it today (copied and pasted from his message, so it was exactly the above) it DID print to the file!  Yay!
(I know it was exactly the same on every try, not just because I copied and pasted, but because I saw it so many times and analyzed it so many times that it is etched in my brain.)
Maybe it only works on Thursdays?  ;^)
Go figure.  "Computers were invented to make our lives easier. Computers were invented to make our lives easier.  Computers were invented ..."  If I say it often enough, maybe I might actually start to believe it.  >:^(
Seriously, the only difference that I'm aware of between the three different days is that today my HD has a lot more free space.  At any rate, the command is now working.
Thanks, Jolly Roger and Jim, for your help.
<SNIP your printout>
--
Dudley Brooks, Artistic Director
Run For Your Life! ... it's a dance company!
San Francisco

Date Sujet#  Auteur
30 Apr 24 * Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)17Dudley Brooks
30 Apr 24 +* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)14Jim Gibson
30 Apr 24 i`* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)13Jolly Roger
30 Apr 24 i `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)12Dudley Brooks
1 May 24 i  `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)11Jolly Roger
2 May 24 i   `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)10Dudley Brooks
2 May 24 i    `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)9Jolly Roger
2 May 24 i     `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)8Jolly Roger
2 May 24 i      `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)7Dudley Brooks
3 May 24 i       `* Another question Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)6Dudley Brooks
4 May 24 i        `* Re: Another question Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)5Jolly Roger
30 May 24 i         `* Re: Another question Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)4Dudley Brooks
30 May 24 i          `* Re: Another question Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)3Jolly Roger
3 Jun 24 i           `* Re: Another question Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)2Dudley Brooks
3 Jun 24 i            `- Re: Another question Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)1Your Name
30 Apr 24 `* Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)2Your Name
30 Apr 24  `- Re: Print (or export to a spreadsheet) all the information displayed when Finder is looking at a folder (OS X 10.13 High Sierra)1Dudley Brooks

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal