Added BeyondCompare scripts, Open Terminal Here and Resize script to resize a directory of images to 250x250 using mogrify
This commit is contained in:
commit
13f1e41141
5 changed files with 16 additions and 0 deletions
3
bc/compare
Executable file
3
bc/compare
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
quoted=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\"##)
|
||||
bcompare $quoted
|
4
bc/compare_to_selected
Executable file
4
bc/compare_to_selected
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
arg2=$(cat $HOME/.beyondcompare/nautilus)
|
||||
arg1=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\"##)
|
||||
bcompare $arg1 $arg2
|
3
bc/select_for_compare
Executable file
3
bc/select_for_compare
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
quoted=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\"##)
|
||||
echo "$quoted" > $HOME/.beyondcompare/nautilus
|
3
open_terminal_here
Executable file
3
open_terminal_here
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd $NAUTILUS_SCRIPT_CURRENT_URI
|
||||
gnome-terminal
|
3
resize_250x250
Executable file
3
resize_250x250
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd $NAUTILUS_SCRIPT_CURRENT_URI
|
||||
mogrify -resize 250x250 *.*
|
Loading…
Add table
Add a link
Reference in a new issue