Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /tmp/foo% find
- .
- ./dir one
- ./dir one/Content
- ./dir one/Content/Stuff
- ./dir one/Content/Stuff/UpdateThis.file
- ./dir two
- ./dir two/Content
- ./dir two/Content/Stuff
- ./dir two/Content/Stuff/UpdateThis.file
- /tmp/foo% cat "./dir one/Content/Stuff/UpdateThis.file"
- baz
- /tmp/foo% cat "./dir two/Content/Stuff/UpdateThis.file"
- baz
- /tmp/foo% for file in */Content/Stuff/UpdateThis.file; do mv "${file}" "${file}.old"; echo qux > "${file}"; done
- /tmp/foo% find
- .
- ./dir one
- ./dir one/Content
- ./dir one/Content/Stuff
- ./dir one/Content/Stuff/UpdateThis.file.old
- ./dir one/Content/Stuff/UpdateThis.file
- ./dir two
- ./dir two/Content
- ./dir two/Content/Stuff
- ./dir two/Content/Stuff/UpdateThis.file.old
- ./dir two/Content/Stuff/UpdateThis.file
- /tmp/foo% cat "./dir one/Content/Stuff/UpdateThis.file"
- qux
- /tmp/foo% cat "./dir two/Content/Stuff/UpdateThis.file"
- qux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement