files and directories

Table of Contents

1. Creating

touch <file name>  # Creates a file with <file name>

2. Deleting

2.1. Multiple deletions

  • To delete all the files with .npy extension in a directory and subdirectories use

    find <directory path> -name "*.npy" -type f -delete
    

Date: 2024-10-30 Wed 08:40

Created: 2025-07-05 Sat 00:00

Validate