Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The command parameters with the prefix source_ are exclusively executed on the source host, with the prefix target_ on the target host.
The command parameters without a prefix are executed on both source and target host.

...

  • "$SourceFileName" is the name of the file from the source which is currently transferred.

 

Code Block
languagebash
titleExample for SFTP on a Unix target host to decompress a gzip-compressed file after transfer

...

code
 target_post_command=gzip -d $TargetFileName