Last active
December 3, 2018 12:56
-
-
Save melvincarvalho/b6c7121f2c239c1878a26e9465fa1166 to your computer and use it in GitHub Desktop.
Fix https in solid terms
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 characters
#!/usr/bin/env bash | |
# for i in `find $(pwd) -name publicTypeIndex.ttl` ; do bin/fixsolidterms.sh "$i" ; done | |
FILE=$1 | |
TMPFILE=/tmp/solidterms.ttl | |
sed 's/https:\/\/www.w3.org\/ns\/solid\/terms#/http:\/\/www.w3.org\/ns\/solid\/terms#/g' $FILE > $TMPFILE | |
touch -r $TMPFILE $FILE | |
mv $TMPFILE $FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment