Post a reply

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

Zig wrote:

Sorry to sound dense but would that mean that the custom command entered would look like this to chown recursively?

chown "!?property:?!" !

Yes. But you need to check Execute recursively.
Zig

Sorry to sound dense but would that mean that the custom command entered would look like this to chown recursively?

chown "!?property:?!" !
franc

Thank you

This works! Thank you!

greetings franc
martin

Re: chown recursive

Just check the custom command options Execute recursively (and maybe also Apply to directories) and use pattern ! instead of !&. Please read documentation.
franc

chown recursive

Hello,
it would be so nice if WinSCP had a feature like chown -R ...
I know i can do as userdefined command:
chown "!?new owner (and group: user.group):?!" !&
but
chown -R "!?new owner (and group: user.group):?!" !&
wouldnt change the owner recursively, unfortunately.
So if i upload with WinSCP a bunch of directories for the webserver, after that i have to open another SSH Terminal to change their ownership and group...
greetings,
franc