projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
67e47cc
)
added xml as a reasonable extension to spacem
author
Chris Koeritz
<cak0l@virginia.edu>
Fri, 17 Jul 2020 12:44:52 +0000
(08:44 -0400)
committer
Chris Koeritz
<cak0l@virginia.edu>
Fri, 17 Jul 2020 12:44:52 +0000
(08:44 -0400)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index 07d6447bcccbbf4ebc2dcb08d308937b657e6fb9..db08274fadf8bb762d5bf9f6030c48fa5afa018b 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-924,7
+924,7
@@
return 0
#hmmm: any way to do the below more nicely or reusably?
find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f | \
grep -i \
#hmmm: any way to do the below more nicely or reusably?
find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f | \
grep -i \
-"csv\|doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|zip" | \
+"csv\|doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|
xml\|
zip" | \
sed -e 's/^/"/' | sed -e 's/$/"/' | \
xargs bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh"
# drop the temp file now that we're done.
sed -e 's/^/"/' | sed -e 's/$/"/' | \
xargs bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh"
# drop the temp file now that we're done.