I have a directory with a bunch of files with names like:
001234.jpg 001235.jpg 004729342.jpg
I want to remove the leading zeros from all file
I dont know sed at all but you can get a listing by using find:
find
find -type f -name *.jpg
so with the other answer it might look like
find . -type f -name *.jpg | sed -e 's:^0*::'
but i dont know if that sed command holds up or not.