Hi, i want to tar *.log files but it doesnt work
tar -czf log.tar -C ./logfiles *.log
I use -C to change folder run time, to make it run from C++.
This command result error:
tar: *.log: Cannot stat: No such file or directory
tar seems detect *.log as file name not wildcards.