Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

move all files in subdirectories to current directory linux

find . -type f -mindepth 2 -exec mv -i -- {} . ;
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #move #files #subdirectories #current #directory #linux
ADD COMMENT
Topic
Name
6+3 =