Hi, sorry to bring this up again, but does anyone know how to check if a file is a directory or not?
In Thomas example script, he uses the "files" parameter for the list command. This will only give a list of all files in a directory.
The "dirs" parameter for the list command will only give a list of all directories.