I'm trying to take files in a directory and reverse them and then sort them alphabetically. So that Cat Dog So the output Would be God Tac
If you use terminal write:
ls -r
It show you your files and directories in reversed order. I don't know what kind of Graphical Interface you use. In Gnome you must show files as a list and sort by name (clicking it) diminishing
If you want to work with files and folder names, not to change their names, I hope this will help you:
ls your-path | rev | sort
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With