I find it strange that there's no workflow action to list files in a local or dropbox folder and really wish a future version of Editorial would get one.
Also, the ability to specify a directory in the Sync with Dropbox action so that the whole thing isn't synced seems like a good thing to have.
In the meantime, any suggestions for how to accomplish at least the first of these two things? I've managed to hack together a solution that works but it makes me nervous relying on something like this:
import os
import editor
import glob
import workflow
db_folder = workflow.get_variable('foldername')
db_path = os.path.split(editor.get_workflows_path())[0] + '/Dropbox/{}/*.*'.format(db_folder)
files = glob.glob(db_path)
workflow.set_variable('filelist', '\n'.join(files))
Has anyone figured out a better way to list all the files in a Dropbox folder (and a local folder, too, while we're at it)?