HF RL Explorer

Task: Create a Shell Script to Copy Files with Automatic Directory Creation

Task: Create a Shell Script to Copy Files with Automatic Directory Creation: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that copies a file to a destination path, automatically creating any intermediate directories that do not yet exist. This solves the common problem where…

The task

Write a shell script that copies a file to a destination path, automatically creating any intermediate directories that do not yet exist. This solves the common problem where `cp` fails because the destination directory path does not exist.

Part of PrimeIntellect/Terminal-Lego-15k.