Now, I can open a file by Sublime Text just input -subl [path] in MacOS terminal.
Can I do something of the kind when using Excel?
Thx.
Search the “sample file. xlc” file and click on the “Open” button located at the top right corner. And the excel file “sample file. xlc” will be opened, and it will display all the file data in the “LibreOffice Calc” app.
Open a spreadsheet on a Mac: For a Numbers spreadsheet, double-click the spreadsheet name or thumbnail, or drag it to the Numbers icon in the Dock or in the Applications folder. For an Excel spreadsheet, drag it to the Numbers icon (double-clicking the file opens Excel if you have that app).
Instead of typing the full path, you can drag the script onto the Terminal window from Finder. Then, to execute, just enter /path/to/script . Again, you can drag and drop the file onto the Terminal window. This syntax should execute the script using the correct shell as defined on the first line of the script.
Open a file by default application, just
open [path]
If want to change, can use open -a [app-path] [file-path]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With