chitin icon indicating copy to clipboard operation
chitin copied to clipboard

Automated absolute paths can cause unexpected behaviour

Open SamStudio8 opened this issue 8 years ago • 1 comments

find and tar can work in an unexpected fashion when paths are replaced with their absolute counterparts and inserted back into the command string before execution.

SamStudio8 avatar Nov 21 '16 16:11 SamStudio8

Currently one get around this by using quotes around paths they do not wish to be expanded. This has the negative side effect of excluding that token from being watched. One such workaround for tar right now is this:

tar cvf example.tar -C test '../test'

SamStudio8 avatar Nov 21 '16 17:11 SamStudio8