阅读背景:

用于在没有-R的FTP服务器上进行递归目录列表的Bash脚本

来源:互联网 

There are multiple folders with subfolders and image files on the FTP server. The -R is disabled. I need to dump the recursive directory listing with the path name in a text file. The logic I have till now is that, traverse in each folder, check the folder name if it consists of '.' to verify it as a file or a folder, if its a folder, go in and check for subfolders or files and list them. Since I cannot go with the -R, I have to go with a function to perform traverse each folder. There are multiple folders with subfolders and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: