我想recursion地实现下面的命令
sed -i 's/href=\"1\//href=\"\/1\//g' ./*
以便它将所有子目录中的所有href =“1”replace为href =“/ 1”。 有没有可以添加到这个命令的标志来实现我想要的结果?
find . -type f -print0 | xargs -0 sed -i 's/href=\"1\//href=\"\/1\//g'