affcopy(1)

🌸 affcopy(1) · reorder and recompress AFF files 🌸

πŸ’– NAME

affcopy - reorder and recompress AFF files

🧚 SYNOPSIS

affcopy [options] file1 file
affcopy [options] file1 file2 file3 ... dir
affcopy [options] file1 file2 file3 ... dir1 dir2...

✨ DESCRIPTION

okay so affcopy copies one AFF file over to another one. The result comes out re-ordered and, maybe, re-compressed πŸ’…

This file is part of the AFFLIBv3, which is the library that provides AFF πŸŽ€

AFF is an open and extensible file format for storing disk images and their associated metadata πŸ’œ It's super useful in a bunch of scenarios, like computer forensics investigations. Literally iconic πŸ”₯

πŸ‘‘ OPTIONS

πŸŽ€ General options

  • -d β€” Prints debugging information too πŸ›
  • -h β€” Help! Prints this message πŸ™ˆ
  • -L β€” Recompresses pages (aka preen) with LZMA. The files come out smaller, but it takes longer 🐒
  • -m β€” Only copies the missing segments 🧩
  • -V β€” Prints the program version and then exits 🏷️
  • -v β€” Verbose mode! Prints each file as it gets copied πŸ“‚
  • -vv β€” Very verbose mode! Prints each segment as it gets copied πŸ”
  • -x β€” Doesn't verify hashes on reads πŸ™…β€β™€οΈ
  • -Xn β€” Recompresses pages (preen) with zlib level n 🌈
  • -y β€” Doesn't verify writes 🫠
  • -z β€” ZAP (delete)! Copies even if the destination already exists ⚠️

πŸ”‘ Signature Options

  • -k <filename.key> β€” Specifies the private key used for signing πŸ—οΈ
  • -c <filename.cer> β€” Specifies an X.509 certificate that matches the private key. By default, the file is assumed to be the same one you gave with the -k option πŸ“œ
  • -n β€” Reads notes to go along with the copy from standard in πŸ“

πŸ” Encryption Options

You can set a passphrase encryption for filename.aff like this:

file://:passphrase@/filename.aff

πŸ“ EXAMPLES

Copy file1 to file2:

$ affcopy file1 file

Copy all files to dir:

$ affcopy file1 file2 file3 dir

Copy file1 to dir1, file2 to dir2 and file3 to dir3:

$ affcopy file1 file2 file3 dir1 dir2 dir3

Encrypt file.aff:

$ affcopy
       file.aff   file://:mypassword@/file-encrypted.aff

Copy all files in the current directory to the S3 default bucket with X9 compression:

$ affcopy -vy -X9 *.aff s3:///

πŸ¦‹ SEE ALSO

affcat(1), affcompare(1), affconvert(1), affcrypto(1), affdiskprint(1), affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affstats(1), affuse(1), affverify(1), affxml(1)

🫢 AUTHOR

The AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis Technology, Inc.

This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others).


bestie, that's the whole tea! πŸ’…βœ¨ AFFCOPY 3.7.4 Β· Oct 2014 Β· affcopy(1) 🌈

πŸ“¦ where this page comes from