mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2026-10-26 19:01:41 -04:00
Add timestamp to log and bb files
This commit is contained in:
parent
7d86107741
commit
ed97b875e5
1 changed files with 2 additions and 2 deletions
|
|
@ -217,10 +217,10 @@ Serial_Number=$(smartctl -i /dev/"$Drive" | grep "Serial Number" | awk '{print $
|
|||
|
||||
# Form the log and bad blocks data filenames:
|
||||
|
||||
Log_File="burnin-${Disk_Model}_${Serial_Number}.log"
|
||||
Log_File="burnin-${Disk_Model}_${Serial_Number}-$(date -u +%Y%m%d-%H%M+0).log"
|
||||
Log_File=$Log_Dir/$Log_File
|
||||
|
||||
BB_File="burnin-${Disk_Model}_${Serial_Number}.bb"
|
||||
BB_File="burnin-${Disk_Model}_${Serial_Number}-$(date -u +%Y%m%d-%H%M+0).bb"
|
||||
BB_File=$BB_Dir/$BB_File
|
||||
|
||||
# Query the short and extended test duration, in minutes. Use the values to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue