Last active
August 29, 2015 14:08
-
-
Save mjj2000/db8cde516af0f97f5e1f to your computer and use it in GitHub Desktop.
Revisions
-
mjj2000 revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ alias qlook="qlmanage -p 2>/dev/null" -
mjj2000 revised this gist
Nov 1, 2014 . 2 changed files with 1 addition and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ qlook="qlmanage -p 2>/dev/null" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +0,0 @@ -
mjj2000 revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,4 @@ # $ qlook.sh /path/to/target/files* # quick look multiple files by wildcard filename # ################################################################################### ls "$@" | xargs -I {} echo \"{}\" | xargs qlmanage -p 2>/dev/null -
mjj2000 revised this gist
Nov 1, 2014 . 2 changed files with 11 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/bash ################################################################################### # Script to trigger quick look of target files in Mac OS X # usage: # # $ qlook.sh /path/to/target/file # quick look a single # $ qlook.sh /path/to/target/files1 /path/to/target/files2 # quick look multiple files # $ qlook.sh /path/to/target/files* # quick look multiple files by wildcard filename # ################################################################################### ls "$@" | xargs -I {} echo \"{}\" | xargs qlmanage -p -
mjj2000 created this gist
Nov 1, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # an alias named `qlook` that can trigger quick look of target file in Max OS X # usage: qlook /path/to/target/file alias qlook="qlmanage -p"