weekly
weekly copied to clipboard
windows 下 xargs 的简单批处理实现
https://helloacm.com/simple-xargs-batch-implementation-for-windows/
Windows 平台使用 xargs 的用户不多吧。
对, 主要是我在 windows 下开发, 然后 那天需要运行这样一个命令:
git branch | grep -v "develop" | xargs git branch -D
装个cygwin更好点吧
装个cygwin更好点吧
这个是轻量级的,而且可以满足大部分情况下的需要。
cygwin
@rockswang Solved my problem with this terminal. Thanks a million.
将cygwin的xargs.exe加入到环境变量可以使用 https://github.com/DoctorLai/BatchUtils/blob/master/xargs.cmd 这个对于我来说有兼容性问题。