Linuxtar is used to compress files after a certain date
Source: Internet
Author: User
Snapshot -- newer & quot; 2012-10-0100:00:00 & quot; backup/tarczvf...
Linux tar is used to compress files after a certain date. to facilitate incremental backup of server data, appropriate tar parameters can be used to regularly package Java code tar cvf backtup.tar -- newer "2012-10-01 00:00:00" under cron" backup/tar czvf backtup.tar.gz -- newer "2012-10-01 00:00:00" backup/for example, the preceding command can only compress the file www.2cto.com, which is created on a date later than "2012-10-01 00:00:00", which is equivalent or similar. parameter, you can also try: Java code-N -- newer -- after-date, it may be because the problem between the creation time and the last modification time can be achieved by using the following parameters: Java code tar czvf backtup.tar.gz -- newer-mtime "2012-10-01 00:00:00" backup/-- newer-mtime this will work like expected
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service