Great, thanks.

On 2021-02-16 7:43 p.m., Dianne Skoll wrote:
On Tue, 16 Feb 2021 19:33:34 -0500
James <[email protected]> wrote:

$ find /hdd-storage/storage/programming/ -maxdepth 1 -type d -exec
"cd {}; git pull" \;
"cd" is a shell builtin.  You can't exec it as a program.

Try:

find /hdd-storage/storage/programming -type d -maxdepth 1 -exec /bin/bash -c 'cd {} 
&& git pull' \;

Regards,

Dianne.

To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org



To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org

Reply via email to