prevent files from renaming themselves automaticallyCan Spotlight or Media Browser index metadata contained...

Best approach to update all entries in a list that is paginated?

"However" used in a conditional clause?

Why don't MCU characters ever seem to have language issues?

Unreachable code, but reachable with exception

If Invisibility ends because the original caster casts a non-concentration spell, does Invisibility also end on other targets of the original casting?

what does the apostrophe mean in this notation?

Can infringement of a trademark be pursued for using a company's name in a sentence?

What has been your most complicated TikZ drawing?

What wound would be of little consequence to a biped but terrible for a quadruped?

Why would a jet engine that runs at temps excess of 2000°C burn when it crashes?

Co-worker team leader wants to inject the crap software product of his friends into our development. What should I say to our common boss?

Confusion with the nameplate of an induction motor

Playing ONE triplet (not three)

Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?

Silly Sally's Movie

Plywood subfloor won't screw down in a trailer home

Does the Bracer of Flying Daggers benefit from the Dueling fighting style?

Good allowance savings plan?

Ban on all campaign finance?

What is the difference between "shut" and "close"?

Deleting missing values from a dataset

Question about partial fractions with irreducible quadratic factors

Time travel short story where dinosaur doesn't taste like chicken

Is it illegal in Germany to take sick leave if you caused your own illness with food?



prevent files from renaming themselves automatically


Can Spotlight or Media Browser index metadata contained in iPhoto or Aperture in Mac OS X?Rename AVI files from digicamRenaming a file from myFile.sh to myFile.bash?How can I add metadata to NTFS files/folders?Batch renaming of files using regular expression in UnixHow to prevent Windows Explorer from slowly reading file content to create metadata?How to rename a lot of files in bash shell?oh-my-zsh (terminal) how to change prefix & suffix of new prompt windowPrevent open -a Terminal.app from automatically exiting on Mac OS XUse grep, sed, or awk to extract lines from files?













0















-using Mac OSX 10.14.3,



I have some script files such as this:



#!/opt/local/bin/bash
...do some commands in bash;


I use them a lot from the terminal, and want to give them short names without a .sh prefix



Whenever I rename them manually and remove this file suffix, after a few seconds the suffix returns. I thought this might be Spotlight, so I transferred this folder into Spotlights 'Privacy' tab. This at least removed a lot of the metadata of the file, but the automatic renaming of the file to include the suffix still continues.



This behaviour is seen not just in .sh files, but .py and others as well. It is as if OSX is forcing me to keep the file extension.



By the way, I don't want simply to make the suffix invisible in Finder. I want to remove the suffix so that I can type shorter commands at the terminal.









share



























    0















    -using Mac OSX 10.14.3,



    I have some script files such as this:



    #!/opt/local/bin/bash
    ...do some commands in bash;


    I use them a lot from the terminal, and want to give them short names without a .sh prefix



    Whenever I rename them manually and remove this file suffix, after a few seconds the suffix returns. I thought this might be Spotlight, so I transferred this folder into Spotlights 'Privacy' tab. This at least removed a lot of the metadata of the file, but the automatic renaming of the file to include the suffix still continues.



    This behaviour is seen not just in .sh files, but .py and others as well. It is as if OSX is forcing me to keep the file extension.



    By the way, I don't want simply to make the suffix invisible in Finder. I want to remove the suffix so that I can type shorter commands at the terminal.









    share

























      0












      0








      0








      -using Mac OSX 10.14.3,



      I have some script files such as this:



      #!/opt/local/bin/bash
      ...do some commands in bash;


      I use them a lot from the terminal, and want to give them short names without a .sh prefix



      Whenever I rename them manually and remove this file suffix, after a few seconds the suffix returns. I thought this might be Spotlight, so I transferred this folder into Spotlights 'Privacy' tab. This at least removed a lot of the metadata of the file, but the automatic renaming of the file to include the suffix still continues.



      This behaviour is seen not just in .sh files, but .py and others as well. It is as if OSX is forcing me to keep the file extension.



      By the way, I don't want simply to make the suffix invisible in Finder. I want to remove the suffix so that I can type shorter commands at the terminal.









      share














      -using Mac OSX 10.14.3,



      I have some script files such as this:



      #!/opt/local/bin/bash
      ...do some commands in bash;


      I use them a lot from the terminal, and want to give them short names without a .sh prefix



      Whenever I rename them manually and remove this file suffix, after a few seconds the suffix returns. I thought this might be Spotlight, so I transferred this folder into Spotlights 'Privacy' tab. This at least removed a lot of the metadata of the file, but the automatic renaming of the file to include the suffix still continues.



      This behaviour is seen not just in .sh files, but .py and others as well. It is as if OSX is forcing me to keep the file extension.



      By the way, I don't want simply to make the suffix invisible in Finder. I want to remove the suffix so that I can type shorter commands at the terminal.







      bash mac rename metadata file-types





      share












      share










      share



      share










      asked 2 mins ago









      TimTim

      1206




      1206






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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/3.0/"u003ecc by-sa 3.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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413856%2fprevent-files-from-renaming-themselves-automatically%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
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1413856%2fprevent-files-from-renaming-themselves-automatically%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

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...