Fred Stluka on 18 Nov 2014 13:04:25 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] PLUG W Follow-up |
JP and David,
Sorry, I missed the talk. Sounds like you hit a lot of great topics. Are there slides/notes? Yeah, the AWS tips at David's blog are very useful. A while back I had the same need as David described in his post: - Change the Extension on a Large Number of Files My solution was to write this script that does on the Mac what the standard rename command does on Linux: - http://bristle.com/Tips/Mac/Unix/rename On the Mac, use pbcopy and pbpaste to copy and paste from a script. For Git, my favorite Mac tool is GitX, which is great for viewing the multi-branch history of the repo, browsing commits to see their comments, diffs, etc. Also great for reviewing changes as you make commits. See ya! --Fred
On 11/18/14 12:41 AM, JP Vossen wrote:Fred Stluka -- mailto:fred@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates. First, thanks to David for the really interesting AWS talk, I know I learned a lot. I also just read the last 10 posts in http://tech.dcolon.org/wordpress/ too, some neat stuff! There's a bash Cookbook recipe similar to your rename one, but you don't need 'basename' or 'awk'. See https://www.safaribooksonline.com/library/view/bash-cookbook/0596526784/ch17.html or for more of it search 'bash cookbook "renaming many files"' in Google books. For the LVM one you might like the 'seq' command or just {1..15}. (Oh, you used 'seq' in the BIND file post. :) Also, the name of the "wrapper" thing I couldn't remember is https://github.com/37signals/sub. Either that or a bash script with a big case..esac block might make a nice addition to your 'aws' commands and aliases. Something that didn't come up but is relevant to some of the discussions is the ability to read and write from the clipboard. Not sure how to do this on a Mac, but on Debian/Ubuntu/Mint: $ sudo apt-get install xsel $ alias gc='xsel -b' # GetClip $ alias pc='xsel -bi' # PutClip $ gc | sort | uniq -c | sort -rn | head | pc # Top-10 list ----- I also talked about "easygit" (https://people.gnome.org/~newren/eg/) and the SVN --> git page https://people.gnome.org/~newren/eg/git-for-svn-users.html which I really like. I've had trouble with it in that 'eg status' fails to produce output for me that 'git status' provides. OTOH, 'eg diff' and 'eg revert' Do What I Meant and not the crazy crap that git does instead. YMMV. And that RCS wrapper ESR wrote is: http://www.catb.org/esr/src/ Blogs/details: http://esr.ibiblio.org/?p=6502 I wrote a version-control system today http://esr.ibiblio.org/?p=6511 SRC 0.3 – ready for the adventurous http://esr.ibiblio.org/?p=6518 SRC FAQ http://esr.ibiblio.org/?p=6529 SRC 0.9: Ready for the less adventurous now I'm still not 100% sure I fully grok the need. I get that changesets aren't needed for stand-alone files, but "$VCS commit -m'message' singe_file" isn't rocket science either. Whatever, it's still very cool. Related, for converting SVN to git, start with https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Subversion, and then perhaps read https://www.atlassian.com/git/tutorials/migrating-convert/ and http://stackoverflow.com/questions/9211405/how-to-migrate-code-from-svn-to-git-without-losing-commits-history, but unless the SVN repo is drop-dead simple you will probably end up with ESR's http://www.catb.org/esr/reposurgeon/. (Boy, he came up a lot last night, and while we were just next door in Malvern...:) Wow, this got long... Shutting up now... JP ----------------------------|:::======|------------------------------- JP Vossen, CISSP |:::======| http://bashcookbook.com/ My Account, My Opinions |=========| http://www.jpsdomain.org/ ----------------------------|=========|------------------------------- "Microsoft Tax" = the additional hardware & yearly fees for the add-on software required to protect Windows from its own poorly designed and implemented self, while the overhead incidentally flattens Moore's Law. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug |
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug