10 lines
167 B
Bash
10 lines
167 B
Bash
#! /usr/bin/env bash
|
|
|
|
# make a website url for the filename you type
|
|
# and replaces spaces with %20
|
|
|
|
CUT=`pwd|cut -c21-`
|
|
FILE="$CUT/$1"
|
|
|
|
echo "https://"${FILE// /%20}
|