Article 589JD find all extensions than make directories of extensions using find command?

find all extensions than make directories of extensions using find command?

by
finalturismo
from LinuxQuestions.org on (#589JD)
so iam trying to use find to locate all extensions recursively from all files recovered from a drive.

After i find all extensions i need to make folders for these extensions....

So far what i got is

Code:find . -iname "*" -exec mkdir {} \;Problem is i only need to make folders with the same name as the extensions. I some how need to subtract all text before the last period and push the results back into mkdir....

been messing with this for hours... i have found a few bash scripts that do the job, but i would rather get bits of code and put it together my self to help me understand bash scripting a little more.

The operators are what confuse me in linux....latest?d=yIl2AUoC8zA latest?i=Ao04-B1fR6w:s3BxToJmxAI:F7zBnMy latest?i=Ao04-B1fR6w:s3BxToJmxAI:V_sGLiP latest?d=qj6IDK7rITs latest?i=Ao04-B1fR6w:s3BxToJmxAI:gIN9vFwAo04-B1fR6w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments