2 ms·
Tar is one the less confusing commands in my opinion: CREATE: z = gzip c = create EXTRACT: x = extract AS ALWAYS: v = verbose
by laumars 14y ago
Tar is one the less confusing commands in my opinion:
CREATE:
z = gzip
c = create
EXTRACT:
x = extract
AS ALWAYS:
v = verbose
AND LASTLY, ALWAYS INCLUDE
f = file name
thus:
tar zcfv filename.tar.gz folder
will create a tarball of folder.
tar xfv filename.tar.gz
will extract a tarball.
Personally I find the ps command much more confusing; which is only compounded by the fact that GNU, BSD and SysV all have their own switches >.<