Deleting files after adding to tar archive
Can GNU tar add many files to an archive, deleting each one as it is added? This is useful when there is not enough disk space to hold both the entire tar archive and the original files - and therefore it is not possible to simply manually delete the files after creating an archive in the usual way. Fred Foo With GNU tar, use the option --remove-files . Cristopher Plasma I had a task - archive files and then remove into OS installed "tar" without GNU-options. Method: Use "xargs" Suppose, we are have a directory with files. Need move all files, over the week into tar and remove it. I do one