Skip to content

Commit

Permalink
Add selectfiles.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
liyanage committed Mar 3, 2017
1 parent ca4a1ab commit 77b0141
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions selectfiles.sh
@@ -0,0 +1,15 @@
#!/bin/bash

osascript - <<EOF "$@"
on run argv
set filesToSelect to {}
repeat with filePath in argv
set end of filesToSelect to posix file filePath
end
tell application "Finder"
select filesToSelect
end
return
end
EOF

0 comments on commit 77b0141

Please sign in to comment.