Menu

#23 Pass "Source" path to a command as a variable

accepted
3
2024-02-15
2022-04-21
Sami
No

Hello,

Is there a way to provide as a variable the source path to a command that runs before rsync?

Goal:
To provide a script the source path for specific operations / checks before running rsync

1 Attachments

Discussion

  • Piero Orsoni

    Piero Orsoni - 2022-04-25
    • status: open --> accepted
    • assigned_to: Piero Orsoni
     
  • Piero Orsoni

    Piero Orsoni - 2022-04-25

    Thanks, I will put this into my todo list

     
  • Batwam

    Batwam - 2024-02-15

    would it be possible to have a variable to for the target/output folder too? I am looking to run a check to make sure the destination folder exists as sometimes, my NAS won't mount and I end up copying all the files on my local drive...

     

    Last edit: Batwam 2024-02-15

Log in to post a comment.