sed command with -i option failing on Mac, but works on Linux
If you use the -i option you need to provide an extension for your backups.
If you have:
sed -i '.original' 's/old_link/new_link/g' *
create 2 backup files like:
You can use
sed -i '' 's/old_link/new_link/g' *
to ignore backups.