我正在尝试执行以下命令
ls -d a* | xargs -i sudo rm -rf {}/*
问题是当我添加/*零件时,命令不起作用。我想删除目录内容(不是目录本身)。
/*
shell xargs
shell ×1
xargs ×1