8 lines
250 B
Bash
Executable file
8 lines
250 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Replace all instances of `img` in Markdown image links with `_img` (to reflect new directory structure)
|
|
|
|
find /home/thomas/repos/computer_science/ -type f -name "*.md" | while
|
|
read file; do
|
|
sed -i 's/\/img\//\/_img\//g' $file
|
|
done
|