1.I found a lot of files in directory when i try to delete them i am getting too much argument error.
I tried the below.
rm -rf *.jpg
find -name *.jpg | xargs rm -rf *
2. I have to delete a huge number of sub directories inside a directory which also contains a lot of images there.( my aim is to delete the directories there and leave the images alone).
3.When i do df -k, i see the output in bytes , is it possible to see them in megabytes?
4.Say i am in /var/html folder and want to display files which has more than 500 MB size.
How can i do that.