Files
scripts/url.sh
2019-03-26 14:57:17 +00:00

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}