dotnet / corefx-tools

Place to include various misc tools for .NET and .NET Core.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perfcollect.sh - Bad search patter for perf.map files

rdcm opened this issue · comments

commented

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