perfcollect.sh - Bad search patter for perf.map files
rdcm opened this issue · comments
This section of code copy all .map
files from home directory ~/
to /tmp
folder.
local mapFiles=`find -name *.map`
for mapFile in $mapFiles
do
echo "Copying $mapFile to /tmp."
cp $mapFile /tmp
done
For example all matched files from node_modules...
./.../do.js.map
./.../last.js.map
./.../switchMapTo.js.map
./.../takeUntil.js.map
./.../buffer.js.map