solid-contrib / solid-node-client

a nodejs client for Solid
MIT License
20 stars 8 forks source link

one-liner to reset a folder on pod to a local folder? #8

Closed michielbdejong closed 3 years ago

michielbdejong commented 3 years ago

I have uploaded some files to my pod. Now I fixed some things in the local copy and want to sync those changes to my pod. I use the local copy as authoritative so it's OK to delete the folder contents on my pod and upload from scratch.

I'll see if I can produce a script for that.

jeff-zucker commented 3 years ago

One-liner recursive copy, backup, and restore is now handled by solid-shell which uses solid-node-client and solid-file-client:

sol copy local_folder remote_folder

or

sol zip folderUrl zipFile