I need to change filetype to add write permission (+w) to a lot of files under a root folder. I found the following command to remove +w; somebody knows how to change it to add +w instead of remove it?
Thanks in advance
p4 -F "%type%@%depotFile%" files ... | grep -e ".*w.*@.*" | sed -e "s/\(.*\)w\(.*\)@\(.*\)/edit -t \1\2 \"\3\"/" | p4 -x - run