New answers tagged

3 votes

Taking the first 7 characters of a folder name and appending it

Short shell script Run for s in *; do t=$(sed -E 's/^(\([[:digit:]]{4}\)) (.*)/\2 \1/' <<< $s) [[ "$s" != "$t" ]] && mv "$s" "$t" done ...
user avatar
  • 84.5k
0 votes

Taking the first 7 characters of a folder name and appending it

Paste this following AppleScript code into a new Script Editor.app document. Running the code in Script Editor will take all of the currently selected folders in the frontmost Finder window and re-...
user avatar
  • 6,309
0 votes

Taking the first 7 characters of a folder name and appending it

I am sure you could do what you want with a script in Terminal, but much easier to use A Better Finder Rename. This apps as a wide range to rename tricks, but something like this would do what you ...
user avatar
  • 5,968
0 votes
Accepted

How can I stop Mac Automator using previous specification for my actions?

Each action passes an output to the next item. So your action to Rename Finder Items will pass its output on to the next action. You need to check "Ignore this action's input" when you Get ...
user avatar
  • 22.5k
0 votes

How share folder in QEMU with plan9/virtfs between MacOS host and Linux guest?

As of March 2022, 9pfs is available in QEMU on macOS if you're using homebrew. My qemu-system-x86_64 command includes the following parameter: -virtfs local,path=/Users/gsf/Downloads,security_model=...
user avatar
  • 101

Top 50 recent answers are included