Browse to specific subtree by path

Hi,
am using restic over sftp / remote
and each command take 1-2 seconds
to short that, I try to find way browse directly to internal directory inside snapshot
for example, instead of do 3 times
restic -r sftp:USERNAME@HOST.TLD:/resticfolder cat snapshot SNAPSHOTID
(get first directory - home)
restic -r sftp:USERNAME@HOST.TLD:/resticfolder cat blob SUBTREEID
(get inside home directory and see user directory: test111)
restic -r sftp:USERNAME@HOST.TLD:/resticfolder cat blob SUBTREEID
(get inside test111 directory, see and show list of files and folders from backup to the user)

any option to do something like:
restic -r sftp:USERNAME@HOST.TLD:/resticfolder cat snapshot SNAPSHOTID path=/home/test111
?

Thanks for all your help :slight_smile:
Regards,

Yes, this is what restic ls is for:

restic -r sftp:USERNAME@HOST.TLD:/resticfolder ls $SNAPSHOTID /home/test111

Thanks cdhowie for you help
I have checked ls and didn’t see it’s return the additional data I need
for example date, size and uid/gid

any suggestion how can I combine both ls and cat maybe?

Thanks again :slight_smile:

have you tried using ls -l (human readable) or ls --json?