is there a way to zip or tar just certain directories? Instead of only one? For example, for zip there is... zip -r filename.zip foldername/ But say you're at public_html of the domain and there are four folders you wanna zip, at the same time in to one file, named /fee/, /fi/, /fo/, and /fum/. Is there a way to specify those directories and zip or tar just those four directories instead of doing the whole site or just one directory at a time??
Nintendo asking a serious question anyway let me have the honor to help you I guess this will do (while under public_html) tar -cf backup.tar /fee /foo /fi /sigh Code (markup):