12/27/2023 0 Comments Nvalt renaming files![]() So I ended up jotting some notes to remind my future self of a few remaining manual steps that didn't seem to lend themselves to scripting. I'm reminded of this XKCD chart any time I feel that urge to push something to the nines. Stop me pleaseĪlas, I didn't get to completely eliminating manual steps. To switch to nvUltra from Notational Velocity or nvALT, you just need to make sure your files are stored as plain text rather than in the database. command here and there on stackoverflow, but the world of possibilities was not illuminated for me until I saw Mathias's os x defaults script, which I ended up customizing and extending here. ![]() I also had no idea the extent to which OS X settings can be customized via command-line. Can be a hassle to set up your system though, and takes some time to tweak it to your exact liking/needs. The things it can do while having those two features blew my mind when I stumbled on it early this year. One surprise and news to me was that many popular mac desktop apps, such as 1Password, Paw, Slack, VirtualBox, NvAlt, Vscode, etc can be installed without user interaction via brew cask install github Two key features for me are: 1) Can be entirely local and 2) notes are just standard text files. Ruby -e "a = ARGV.shift b = ARGV.shift ARGV.each" Surprises # usage: renameall oldstring newstring filepattern Have a home for those useful short scripts that one accumulates over the years, such as this ruby mass-rename w/regex script that came from somewhere in the bowels of stackoverflow:.Remember some OS X settings I have customized. How To Rename Multiple Files On Mac At Once.Start source controlling and backing up my git, fish, ssh, and vscode customizations so I don't lose/forget awesome git customizations like:.Ability to execute a one-line command to provision a clean mac with my preferred set of opensource/free development tooling, to drastically reduce recovery and/or migration time after purchasing a new computer.My initial thinking around what I wanted to accomplish was: For me, the challenge in taking this on, was to scope it down to something accomplishable and iterate. The quotes are important if your file names contain any spaces. There are so many people sharing their methods and tools for organizing their dotfiles out there. From the 'File' menu, point to 'Open command prompt,' and then select 'Open command prompt.' To rename a single file, you can use the following command syntax: ren 'currentfilename.ext' 'newfilename.ext'. For example, page renames properly go everywhere, so no fear of renaming. There are times when a clean install and fresh start seems refreshing, but my experience has been a new computer arrives at a time when I'm already super busy trying to finish other things and something went wrong with the previous machine. I finally got my dotfiles repo in order earlier this year, motivated by getting a new laptop and that heaving sigh that goes with the feeling of having to set everything up again.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |