Copy log files to usb script #12

Open
opened 2026-05-01 13:53:35 +02:00 by localhorst · 1 comment
Owner
No description provided.
localhorst added the enhancement label 2026-05-01 13:53:35 +02:00
localhorst self-assigned this 2026-05-01 13:53:35 +02:00
localhorst changed title from Copy log files to usb scrip to Copy log files to usb script 2026-05-01 13:53:41 +02:00
Author
Owner
  1. Bash script "export_reHDD_logs.sh"
  2. List all found drives with path, capacity (humanreadable) and filesystem on first partition
  3. User selects one drive
  4. If drive has no ext4 fs on partition 1 create one, user needs to confirm
  5. mount partition1 in /mnt/{random 8 byte}_reHDD_Log_Exorter/
  6. the user needs to enter a name without spaces that will be used as a prefix (e.g. shredderpc42)
  7. Copy /root/reHDD/reHDD.log with the given prefix to the mounted location
  8. call sync
  9. umount the drive
  10. delete the mnt dir
1. Bash script "export_reHDD_logs.sh" 2. List all found drives with path, capacity (humanreadable) and filesystem on first partition 3. User selects one drive 4. If drive has no ext4 fs on partition 1 create one, user needs to confirm 5. mount partition1 in /mnt/{random 8 byte}_reHDD_Log_Exorter/ 6. the user needs to enter a name without spaces that will be used as a prefix (e.g. shredderpc42) 7. Copy /root/reHDD/reHDD.log with the given prefix to the mounted location 8. call sync 9. umount the drive 10. delete the mnt dir
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: localhorst/reHDD-Bootable#12