vast-ai / vast-python

Vast.ai python and cli api client
MIT License
123 stars 48 forks source link

Feature Request: Support additional options of rsync for copy command #111

Open Leon0402 opened 4 months ago

Leon0402 commented 4 months ago

Hi,

it would be create if vastai copy command would support additional arguments of rsync. Most notably excluding files! My use case is copying data from local to an instance, but exclude unecessary or big data. Samples

Copying to cloud seems to already support this use case. See here https://github.com/vast-ai/vast-python/blob/master/vast.py#L1008.

But it is not implemented for the standard copy command: https://github.com/vast-ai/vast-python/blob/master/vast.py#L912