我有路径
/mnt/sws/users/paul
/mnt/sws/users/john
好像有超过 100 个用户。
在用户下我们有子目录
/paul/Incoming/Users/Supplier
所以,这是我需要找出没有传入目录的用户的问题。
最佳答案
没有接收目录的用户可以列出如下:
find /mnt/sws/users -maxdepth 2 -type d | grep -v Incoming
关于linux - Linux下只列出3个子目录的命令是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41456666/