A
A
AkZwork2018-06-17 01:50:47
linux
AkZwork, 2018-06-17 01:50:47

How to organize the movement of webdav files?

Good afternoon
We have a server with an installed RTSP video surveillance program. Files are written to a specific folder by hours and dates. You need to upload new files via WEBDAV or another protocol to pCloud (another option is MEGA-cmd) and then delete them from the server (free up space). And in case of cloud overflow, gradually delete the oldest records from there.
How is it possible to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2018-06-17
@pfg21

connect via webdavfs
and run something like find /% webdav_dir%/ -type f -mtime +NNN -delete
but something is slurred "whatever" is written

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question