Hallo,
first thank you very much for that great tool!
Using it as backup synchronisation tool there is the open task, that the second location may be unsecure.
Let's sync the folder from you local device to a cloud server.
A very nice thing would be to be able to setup a pipe command.
What I mean:
Free File Sync is reading the source file, pipe the data to the new external script and the script pipe again to Free File Sync which is writing the destination file.
One example is to perform encryption, also other actions are possible like generating hash of the file content.
Using piping so all data are read once and written once.
So using a command like "cipher -aes -password '4f5gfd5'" free file sync will write all data to stdin, the script is performing an encryption appending the iv and encrypting the content and write it all to stdout while free file sync is reading stdin and writing that data to the destination file.
Some parameter should be available like filename.
An other idea is hashing. Using the pipe to hash the files than creating checksum files.
"sha3sum -o $filename$.sha3" will result a inline hash generation for each file and as output.
demo-file.avi and demo-file.avi.sha3 in the same folder even demo-file.avi has read once on source device and written once to the destination device.
Compression, encryption, hashing, filtering (virus scan), converting (crlf -> lf), indexing, logging and many more actions may be usefull.
Please send a +1 if you agree.
Thank in Advance
Extension: External apps via pipe
- Posts: 2
- Joined: 12 Apr 2020