home | list info | list archive | date index | thread index

update all git repos

I have a bunch of git repos under /hdd-storage/storage/programming/ that I want to keep up to date.

I tried:

$ find /hdd-storage/storage/programming/ -maxdepth 1 -type d -exec "cd {}; git pull" \;

but I get:
find: ‘cd /hdd-storage/storage/programming/’: No such file or directory
find: ‘cd /hdd-storage/storage/programming/gramps’: No such file or directory


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

replies

message navigation