I want to find a gunzipped tarball file within my directory and unpack it. I have tried:
system("find . -name '*.gz' | tar -xvf -")
this produces the following error:
tar: Missing type keyword in mtree specification
x ./Library/rmarkdown_2.17.1.tar.gz
tar: Error exit delayed from previous errors.
system
is a func in R to call linux commands.
Asked by dollar bill
(111 rep)
Oct 21, 2022, 10:45 PM
Last activity: Mar 24, 2025, 10:34 AM
Last activity: Mar 24, 2025, 10:34 AM