Learn / tar command builder
tar command builder
tar packs many files into one archive and, if you want, compresses it. Its letters are hard to remember: choose what you want to do and read why each letter is there.
COMMAND
WHAT EACH PART DOES
Good habits. List an archive you received before extracting it (tar -tf), so you know where its files will land. Names with spaces need quotes: the tool adds them for you. Paths are relative to the folder you are in: pwd tells you which one.
Extracting overwrites. Files with the same name in the destination folder are replaced without asking. Extract into a new empty folder when in doubt: mkdir new && tar -xvf backup.tar.gz -C new.
Runs only in your browser: the site’s security policy forbids this page from sending anything over the network.