8 lines
144 B
Bash
8 lines
144 B
Bash
|
#!/bin/sh
|
||
|
filename=$(basename "$1")
|
||
|
file=$(zenity --file-selection --save --filename="$filename")
|
||
|
if [ -n "$file" ]; then
|
||
|
cat > "$file"
|
||
|
fi
|
||
|
|