Bash Script to Sort Files into Alphabetical and Numbers Folders (offset the sorting letter to the 8th...

The answer is a girl's name (my future granddaughter) - can anyone help?

How do we decide/plan an SLA for an NP-hard optimization process running in production?

If I travelled back in time to invest in X company to make a fortune, roughly what is the probability that it would fail?

How to interpret the challenge rating of creatures?

Why has Speaker Pelosi been so hesitant to impeach President Trump?

What's the global, general word that stands for "center tone of a song"?

Disable all sound permanently

Can a passenger predict that an airline or a tour operator is about to go bankrupt?

Airport Security - advanced check, 4th amendment breach

How to write a chemical equation for an reaction that is still fitting inside the document?

Could the Queen overturn the UK Supreme Court ruling regarding prorogation of Parliament?

Would an object shot from earth fall into the sun?

Short story about a potato hotel that makes its guests into potatoes throughout the night

Why not add cuspidal curves in the moduli space of stable curves?

Would a horse be sufficient buffer to prevent injury when falling from a great height?

Booting Ubuntu from USB drive on MSI motherboard -- EVERYTHING fails

How to identify whether a publisher is genuine or not?

Does Bank Manager's discretion still exist in Mortgage Lending

How to "Start as close to the end as possible", and why to do so?

Re-entering the UK after overstaying in 2008

How is this situation not a checkmate?

Do jackscrews suffer from blowdown?

Replace Only First Occurence after Pattern

Principled construction of the quaternions



Bash Script to Sort Files into Alphabetical and Numbers Folders (offset the sorting letter to the 8th character)


Bash Script to Sort Files into Alphabetical Folders on ReadyNAS Duo v1shell Script: Sorting files into directories and subdirectoriesSorting files using a bash scriptSorting files by filenameSort the directories and files in each directory in ascending order and export data to csvMoving files into folders using bash scriptSorting files into folders based on date in filename?Bash script to loop through folders and list files to text






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}








0















eg file name:
9323 - Unix.ext or z223 - 50 Cent.ext



I would like to know how to sort all the files in the current directory into ./A and ./B etc.. and ./Numbers but using the 8th character in the filename as the comparison variable.



'U' and '5' would be the variable to sort by from the example above.



Thank you










share|improve this question









New contributor



Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    0















    eg file name:
    9323 - Unix.ext or z223 - 50 Cent.ext



    I would like to know how to sort all the files in the current directory into ./A and ./B etc.. and ./Numbers but using the 8th character in the filename as the comparison variable.



    'U' and '5' would be the variable to sort by from the example above.



    Thank you










    share|improve this question









    New contributor



    Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0












      0








      0








      eg file name:
      9323 - Unix.ext or z223 - 50 Cent.ext



      I would like to know how to sort all the files in the current directory into ./A and ./B etc.. and ./Numbers but using the 8th character in the filename as the comparison variable.



      'U' and '5' would be the variable to sort by from the example above.



      Thank you










      share|improve this question









      New contributor



      Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      eg file name:
      9323 - Unix.ext or z223 - 50 Cent.ext



      I would like to know how to sort all the files in the current directory into ./A and ./B etc.. and ./Numbers but using the 8th character in the filename as the comparison variable.



      'U' and '5' would be the variable to sort by from the example above.



      Thank you







      bash shell-script scripting






      share|improve this question









      New contributor



      Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 31 mins ago







      Vincent













      New contributor



      Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 36 mins ago









      VincentVincent

      11 bronze badge




      11 bronze badge




      New contributor



      Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Vincent is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          0






          active

          oldest

          votes













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });







          Vincent is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543762%2fbash-script-to-sort-files-into-alphabetical-and-numbers-folders-offset-the-sort%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          Vincent is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded

















          Vincent is a new contributor. Be nice, and check out our Code of Conduct.













          Vincent is a new contributor. Be nice, and check out our Code of Conduct.












          Vincent is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543762%2fbash-script-to-sort-files-into-alphabetical-and-numbers-folders-offset-the-sort%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m