Hi,
I am helping my dad with his computer and he has the messiest folder organisation imaginable.
Would it be possible to create a script which moves all images not in the Pictures folder to pictures, all documents not in Documents to Documents, videos to Videos etc?
But of course ignoring hidden directories as that would ruin settings!
From the home directory root because he sometimes saves files in the home root. And in folders in the Desktop.
Would it ignore links too? Like if I put links on his Desktop to Documents, Pictures etc I hope it wouldn't go through those because that would go on infinitely right?
I can't think of how to do it it seems quite complicated, but I think its probably simple compared to most of the questions you guys get
Just the basic structure I would like and I can add other file extensions myself if I find they are not being moved
This would be much appreciated thanks in advance!