Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Trailing slash in custom command

Patterns cannot be used in the default value of a prompt.
Though you can implement such default using shell constructs.
FROM=!?From (keep empty for selected file):! && rsync -a --delete "${FROM:-!/!}" ...

Regarding the other question, you can again use shell tricks like:
rsync -a --delete "!/!" "!?To:?!""/"
dan

Trailing slash in custom command

Is there a way to write into a prompt area,
full path + selected folder (./!), if possible with trailing slash?
rsync -a --delete "!?From:?./!!" "!?To:?!"

Or add a trailing slash to command line "!/!"?
rsync -a --delete "!/!" "!?To:?!"