Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Terminal Command to open most recently modified .Numbers file ???
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1118747" data-attributes="member: 71075"><p>I can't help you right now but have you considered writing an applescript to do this? There may be something available if you look in the Numbers dictionary (I don't have Numbers so I can't look).</p><p></p><p>EDIT: Don't listen to myself of about ten minutes ago.</p><p></p><p>The ls command lists the files in a directory. According to the man page, the t switch will "sort by modification time" (<a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ls" target="_blank">man page</a>). If you then used grep, you could probably limit the results to .Numbers files and have them print in order of last edited. So, something similar to:[code]ls -t | grep ".Numbers"[/code]</p></blockquote><p></p>
[QUOTE="vansmith, post: 1118747, member: 71075"] I can't help you right now but have you considered writing an applescript to do this? There may be something available if you look in the Numbers dictionary (I don't have Numbers so I can't look). EDIT: Don't listen to myself of about ten minutes ago. The ls command lists the files in a directory. According to the man page, the t switch will "sort by modification time" ([URL="http://unixhelp.ed.ac.uk/CGI/man-cgi?ls"]man page[/URL]). If you then used grep, you could probably limit the results to .Numbers files and have them print in order of last edited. So, something similar to:[code]ls -t | grep ".Numbers"[/code] [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Terminal Command to open most recently modified .Numbers file ???
Top