Dedeco Balaco <dedeco.bal...@yahoo.com> ha escrit: > the tar option '--strip-components=NUMBER' does not work as expected.
Actually, it does. Absolute file name checking[1] occurs before file name transformation[2]. I that's not needed, use the -P option, e.g.: -P --strip-components=3 Regards, Sergey [1] https://www.gnu.org/software/tar/manual/html_node/absolute.html [2] https://www.gnu.org/software/tar/manual/html_node/transform.html