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 : jimsgibson (at) *nospam* gmail.com (Jim Gibson)
Groupes : comp.sys.mac.misc
Date : 30. Apr 2024, 04:09:42
Autres entêtes
Message-ID : <l9b5nmFo4r1U1@mid.individual.net>
References : 1
User-Agent : Usenapp for MacOS
On Apr 29, 2024 at 6:51:05 PM PDT, "Dudley Brooks"
<dbrooks@runforyourlife.org> wrote:

I want to print out all the File Names, their Creation Dates, and their
Modification Dates.  (Printing all the other info is fine too.)  If
possible, I would like to do it in a form that can be easily put into a

You can use the stat utility in a command-line shell in the Terminal
application to print out creation and modification times for any file.

Use 'man stat' for details. Use the -f option to specifiy the content and
format for the fields to be displayed.

You want the following format specifiers:

    %SN  to display the file name
    %SB  to display the creation (birth) time
    %Sm  to display the modification time
    %t    to insert tab characters between fields

So the following should give you what you want:

    stat -f '%SN%t%SB%t%Sm' *

Redirect the output to a file:

    stat -f '%SN%t%SB%t%Sm' * > file_times.txt

and you can import that into a spreadsheet specifying tab characters to
separate columns,

--
Jim Gibson

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