There is a tar file which was created few days before, this tar file was created on the /files directory.
And now /files directory has new files uploaded in it.
My question is how to create another files with only the new files uploaded.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
If you want just a diff, than use the
-d switch (at least with GNU tar):
-d, --diff, --compare find differences between archive and file system
So for example
tar -df foo.tar *