1、遍历指定文件夹目录,并将【绝对路径】打印到txt中:
find /home/iot/Desktop/fgt/For/ForBin/rootdir/ -type f >/home/iot/Desktop/path.txt
2、解锁因权限问题被锁定的文件夹:
sudo chown -R 用户名 文件夹名
1、遍历指定文件夹目录,并将【绝对路径】打印到txt中:
find /home/iot/Desktop/fgt/For/ForBin/rootdir/ -type f >/home/iot/Desktop/path.txt
2、解锁因权限问题被锁定的文件夹:
sudo chown -R 用户名 文件夹名