aws s3 rm s3://f1/f2/f3/f4/ --recursive --exclude "/f4"
inside f1 bucket there are sereval folders(obj) i want to delete the files(objects) inside f4(parth given above) file objects without removing the folder f4 but using the above command in cli deletes the f3 objects(f3 objects are f3 files and f4 folder and f4 objects) getting deleted by using above cmd
Note:-
- inside f3(500)objects and f4(999+ objects)
- i want to delete the f4(999) objects only without deleting the folder f4 (keep folder,remove files inside f4)