Open mbackenkoehler opened 1 year ago
For example:
find teachopencadd -name "*.ipynb" -exec sed -i 's/\/home\/[A-Za-z]*\//~\//g' {} \;
What is this issue about? I do not understand what's being replaced here. Maybe provide an example of what you want to do or have done?
Some notebooks output absolute paths. Most of them are inside warnings. I think it looks a bit nicer if it doesn't contain paths like /home/michael
.
Basically, we can do a
sed
on allipynb
files.