HF RL Explorer

Task: Create a Bash Script to Add Timestamp to Log Files

Task: Create a Bash Script to Add Timestamp to Log Files: a task in Terminal-Lego-15k (Harbor dataset). You need to create a bash script that renames and moves a log file by adding a timestamp to its filename. This is useful for creating separate log files for each run of a program, preventing log…

The task

You need to create a bash script that renames and moves a log file by adding a timestamp to its filename. This is useful for creating separate log files for each run of a program, preventing log files from growing too large over time.

Part of PrimeIntellect/Terminal-Lego-15k.