Skip to content
Snippets Groups Projects
Commit 7b06070a authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed issue in listing hidden files in the file manager (disabled).

parent 8ffd45e6
No related branches found
No related tags found
No related merge requests found
......@@ -565,7 +565,9 @@ class FileManagerAPI(PrivateGETAPI, PrivatePOSTAPI):
# https://askubuntu.com/questions/1116634/ls-command-show-time-only-in-iso-format
# https://www.howtogeek.com/451022/how-to-use-the-stat-command-on-linux/
command = self.prepare_sh_command('cd {} && stat --printf=\'%F/%s/%Y/%n\\n\' * .*'.format(shell_path), user, storage)
# This potentially raises a "stat: cannot statx '.*': No such file or directory"
#command = self.prepare_sh_command('cd {} && stat --printf=\'%F/%s/%Y/%n\\n\' * .*'.format(shell_path), user, storage)
command = self.prepare_sh_command('cd {} && stat --printf=\'%F/%s/%Y/%n\\n\' *'.format(shell_path), user, storage)
# Execute_command
out = os_shell(command, capture=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment