We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bbf44c commit 8a92fcfCopy full SHA for 8a92fcf
make_release.sh
@@ -1,5 +1,10 @@
1
#!/usr/bin/env bash
2
3
-zip -r hyperspy_tutorial.zip . -x "*/.*" -x ".*" -x "make_release.sh" -x "./*.zip"
+# zip everything into one archive, ignoreing hidden files and directories, this
4
+# file, and any zip files in the root of the directory tree
5
+find . -not -path '*/\.*' -not -path './make_release.sh' -not -path './*.zip' \
6
+ -type f | zip -9 hyperspy_tutorial.zip --names-stdin
7
-zip -r hyperspy_tutorial_no_big_data.zip . -x "*/.*" -x ".*" -x "make_release.sh" -x "./*.zip"
8
+# same as above, ignoring files larger than 100M:
9
10
+ -type f -not -size +100M | zip hyperspy_tutorial_no_big_data.zip --names-stdin
0 commit comments