terminal archive file and remove
- by user1503606
How do i archive and remove excess files example.
cd ~/Desktop && tar -cvf sitepack.tar ./
this will give me
ls
Riva_Starr_Feat._Noze_I_Was_Drunk_Official_Video_HD_.mp3
Riva_Starr_feat._Sud_Sound_System_Orizzonti_Official_Vide.mp3
Riva_starr_I_was_drunk_Syskey_remix_.mp3
sitepack.tar
when what i am looking for is
ls
sitepack.tar
so it archive everything into the zip rather than leave them in place?