sh 大脚壳片段

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 大脚壳片段相关的知识,希望对你有一定的参考价值。

# all scans in project as a single line
# find mrestore-projects/ -name project.js | sort | while read line ;do scanids=`jq -r '.scanIds | @tsv'  $line | tr '\t' '\n' | sort`; echo $scanids  ;done

# vid4 dataset to single folder
# cp ntsc/scene000/000049.png scene000_000049_ntsc.png
# cp ntsc/scene000/000033.png scene000_000033_ntsc.png
# cp ntsc/scene000/000125.png scene000_000125_ntsc.png
# cp ntsc/scene000/000064.png scene000_000064_ntsc.png
# find * -type f | while read line ;do tokens=(${line//[\/.]/ }); echo cp $line ${tokens[1]}_${tokens[2]}_${tokens[0]}.png ;done

以上是关于sh 大脚壳片段的主要内容,如果未能解决你的问题,请参考以下文章

sh 便携式大脚怪jsons

sh 缩小大脚代理

sh 壳 - 循环

sh 壳变量

sh 壳时间获取

sh 自我终止壳