Generation

linuxFri, 17 Mar 2023

ディレクトリ内にファイルがなにか有るかどうか調べる あったら数を連番にする なかったらディレクトリ内にフォルダが有るかどうか調べる あったらフォルダ内のファイルを連番にする

find . -maxdepth 1 -type f find . -maxdepth 1 -type d find . -maxdepth 2 -type f

Want to kickstart your project?Use the new AI Studio to create your code