find * | cpio -o -H tar -F /data/backup_$(date %y %m %d).tar

find * | cpio -o -cB > /data/backup_$(date %y %m %d).tar

-o = Create, Run in Copy output mode.

-c = Identical to “-H newc”, use the new (SVR4) portable format. If you wish the old portable (ASCII), use “-H odc” instead.

-B = Set the I/O block size to 5120 bytes. Initially the block size is 512 bytes.

-F = File Archive, Archive Filename.

-H = Format File.

Software Engineer | Digital Transformation Practitioner | Web & Mobile Developer | IT Consultant | Technopreneur | Blogger

Leave a Reply

Your email address will not be published. Required fields are marked *