GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Can we have an option to ignore errors when listing files for rsync?

Open
#353 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Just having a broken symlink makes it stop. It would be nice if you could tell it to keep going and just ignore the file it couldn't list.

```
poizan@dy:~$ sudo gsutil/gsutil rsync -C -r /mnt/ext/PoiDisk/Backup/ gs://last-line-of-defence/Backup
Building synchronization state...
At source listing 10000...
At source listing 20000...
At source listing 30000...
Caught non-retryable exception while listing file:///mnt/ext/PoiDisk/Backup/: [Errno 2] No such file or directory: '/mnt/ext/PoiDisk/Backup/dybackup/poizanhome/poizan/.pftp'
At destination listing 10000...
At destination listing 20000...
At destination listing 30000...
CommandException: Caught non-retryable exception - aborting rsync
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.