Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #322

Open
kyleEeeEEeeee opened this issue Jan 22, 2025 · 2 comments
Open

Question #322

kyleEeeEEeeee opened this issue Jan 22, 2025 · 2 comments
Assignees
Labels
type: question Further information is requested

Comments

@kyleEeeEEeeee
Copy link

How does UAC remove common files? Can you explain that mechanism?

@tclahr tclahr added the type: question Further information is requested label Jan 22, 2025
@tclahr tclahr self-assigned this Jan 22, 2025
@tclahr
Copy link
Owner

tclahr commented Jan 23, 2025

Sure :)

  1. During the execution, all files found by the file collector (file collector uses find to search for files) are stored into [DESTINATION_DIR]/uac-data.tmp/file_collector.tmp file.
  2. After the collection phase, UAC runs sort -u on [DESTINATION_DIR]/uac-data.tmp/file_collector.tmp removing any common files.
  3. Then, UAC removes any non-regular files (anything that can break the creation of the .tar.gz file, such as socket files) from [DESTINATION_DIR]/uac-data.tmp/file_collector.tmp.
  4. The resulting file (after steps 2 and 3) will be used (among others) to create the output file.

I hope you find this useful. Please let me know if you have any questions.

@kyleEeeEEeeee
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants