filesystem_spec
filesystem_spec copied to clipboard
Copy file to and from local
Ive perhaps missed something, and if so please do tell me, p.s this is a great package, and I really like using it.
Im trying copy a file from
- remote to local or
- local to remote
It seems like I have to use two different methods 1
fs = fsspec.open(file2).fs
fs.put(file1, file2)
and
fs = fsspec.open(file1).fs
fs.get(file1, file2)
But it would be great just to have one functions that does this. It feels a bit like local is treated slightly different than other file system.
Appolgies if Ive miss understood something,