6 lines
116 B
Bash
6 lines
116 B
Bash
|
#!/bin/sh
|
||
|
cd ..
|
||
|
last_hash=$(ipfs add -r bideoak|awk '$3 == "bideoak" {print $2}')
|
||
|
cd -
|
||
|
echo "$last_hash" > ipfs.txt
|