脚本可沿dropbox filestatus(CLI)递归下降

问题描述 投票:-1回答:1

dropbox filestatus的输出是文件/目录的行分隔列表及其当前状态。例如

dropbox filestatus 
dir a     up to date
dir b     syncing
dir c     up to date 

如果我们将CD转到dir b,则>]

dropbox filestatus 
file a     up to date
file b     syncing
dir p      syncing
dir q      up to date

我想要一个脚本,该脚本将沿着同步目录下降,同时它会列出每个目录中正在同步的文件。

这是bash的任务吗?还是显然要执行更多任务-例如-python?

dropbox filestatus的输出是用行分隔的文件/目录及其当前状态的列表。例如dropbox filestatus dir a最新dir b同步dir c最新...

python bash dropbox
1个回答
0
投票

我认为bash可以做到。试试这个:

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.