I am still pretty new to terminal based commands but while I was doing a rsync command between remote and local, I have accidentally 'copied' the files to the wrong place (Eg. /serA/items) instead of /serA/items/count01And so, currently the /items directory consists of the count01 folder as well as several other items that was the same contents as the ones in count01Is there a quick way to delete all these wrong copied items (there are different file formats) without touching the count01 folder? While i can use 'rm -f ' but it is a tedious process as there are over 100 plus files...Also I am unable to delete the files manually as they are under someone else name and the permission seems to be locked.
Deleting all files except folders within directory
command line;rm