chown recursive

Advertisement

franc
Donor
franc avatar
Joined:
Posts:
45

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

Reply with quote

Advertisement

Zig
Guest

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

chown "!?property:?!" !

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum