I'm trying to create tar.gz file but I keep getting the error
tar: Removing leading `/' from member names
by doing:
sudo tar -zcf test.tar.gz /opt/stagecoach/apps/test/current/
Ive googled it and found the -P
option but I still get the same error.
Any ideas?
Try this:
sudo tar -cvzf test.tar.gz /opt/stagecoach/apps/test/current