FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tutorial/strip-notebooks.sh at master · idefix-code/tutorial · GitHub
idefix-code
tutorial
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
tutorial
/
strip-notebooks.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
7 lines (6 loc) · 245 Bytes
Breadcrumbs
tutorial
/
strip-notebooks.sh
Copy path
File metadata and controls
executable file
·
7 lines (6 loc) · 245 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
#!
/bin/bash
for
tmp
in
$(
git ls-files
|
grep
"
.ipynb
"
)
do
echo
"
- Stripping
${tmp}
...
"
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --ClearMetadataPreprocessor.enabled=False --to=notebook
"
${tmp}
"
--output
$(
basename
${tmp}
)
done
Back
|
FazBrowse Home
|
New Git URL