reli
12/7/2017 - 11:51 AM

remove delete directory tar count files

remove delete directory tar count files

rm -rf directoryname


tar -xvzf community_images.tar.gz


#recustively count files in a directory
find DIR_NAME -type f | wc -l


#The mv command doesn't have an -R flag, it moves folders recursively:
mv fromPath/ toPath/

#-i prompted in case a file with the same name exists.
mv -i fromPath/ toPath/