Article View: comp.sys.mac.system
Article #198Re: PSA/QUESTION: Porting Windows batch to Python for macOS/Linux users
From: Chris
Date: Mon, 23 Nov 2026 08:43
Date: Mon, 23 Nov 2026 08:43
69 lines
4549 bytes
4549 bytes
Maria Sophia <mariasophia@comprehension.com> wrote: > Lawrence DขOliveiro wrote: >> On Sun, 22 Nov 2026 17:53:46 -0400, Maria Sophia wrote: >> >>> C:\app\editor\android\scrcpy> dir adbfolder* >>> Directory of C:\app\editor\android\scrcpy >>> 11/22/2026 06:27 AM 49,526 adbfolder.bat >>> 11/19/2026 10:59 PM 8,392 adbfolder.bat_v1p0.txt >>> 11/19/2026 11:17 PM 10,960 adbfolder.bat_v1p1.txt >>> 11/19/2026 11:20 PM 11,324 adbfolder.bat_v1p2.txt >>> 11/19/2026 11:23 PM 12,712 adbfolder.bat_v1p3.txt >>> [etc, etc] >> >> Have you thought of using version control? > > Funny you mention data management version (DM) control... as I have to > points on that rather extremely important topic... It is and one we've discussed before. It's also software version control not data management. I've recommended it to you many times with a view to sharing your workings on github which then allows people to help directly. > 1. I screwed up a lot! > Quite a few times my fingermemory hit the gvim bangwritequit and then > I would type the name but I'd type the wrong name 'cuz they're > similar in both name and version numbering system. > > 2. There is tons of DM in the comments, probably more than with most. > > But yes, a proper version-control system would be useful but I've never set > one up. Is there a simple-to-use reasonably good free dm system available? > > Looking it up, there seems to be the following that may be of use: > <https://tortoisegit.org/download/> > <https://git-scm.com/install/windows> > > Git for Windows + TortoiseGit, with a very simple operating model > is what I may consider. > 1. Git for Windows is the version-control engine > 2. TortoiseGit is the Windows GUI to it > > Any other suggestions? If you like a bash terminal there's gitbash and for good integration with github there's github desktop. > Anything would likely be better'n this... > > C:\app\editor\android\scrcpy> dir adb* In one way, it's quite impressive that you managed so well. Most newbies either overwrite code or append things like "new" "workingversion" "new_new" etc. The real beauty with version control is that you can see the line-by-line differences between versions. And the real strength is that you can experiment with changes in a separate thread (aka branch) without affecting your main code until you're happy with it. If you're not happy with it you can ditch it with no pain. I'd recommend online tutorials like: https://www.w3schools.com/git/ https://git-scm.com/learn However, the concepts are harder to learn than the commands and requires a fair bit of practice.
Technical Details
Message-ID:
<11e0ubb$1mun1$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11dsuk8$2dgm$1@nnrp.usenet.blueworldhosting.com> <11dtk8d$2f73$1@nnrp.usenet.blueworldhosting.com> <11dtkua$3j5$1@nnrp.usenet.blueworldhosting.com> <11du1ds$2d2n$1@nnrp.usenet.blueworldhosting.com> <11du4vq$o88b$1@dont-email.me> <11duejv$pj6$1@nnrp.usenet.blueworldhosting.com> <11dvg0e$18965$1@dont-email.me> <11dvnpt$2q1n$1@nnrp.usenet.blueworldhosting.com> <11dvo99$8sg$1@nnrp.usenet.blueworldhosting.com> <11dvodu$1bds1$4@dont-email.me> <11e07e2$257k$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Chris <ithinkiam@gmail.com> Newsgroups: alt.comp.os.windows-11,comp.lang.python,alt.os.linux,comp.sys.mac.system Subject: Re: PSA/QUESTION: Porting Windows batch to Python for macOS/Linux users Date: Mon, 23 Nov 2026 08:43:23 -0000 (UTC) Organization: A noiseless patient Spider Lines: 69 Message-ID: <11e0ubb$1mun1$1@dont-email.me> References: <11dsuk8$2dgm$1@nnrp.usenet.blueworldhosting.com> <11dtk8d$2f73$1@nnrp.usenet.blueworldhosting.com> <11dtkua$3j5$1@nnrp.usenet.blueworldhosting.com> <11du1ds$2d2n$1@nnrp.usenet.blueworldhosting.com> <11du4vq$o88b$1@dont-email.me> <11duejv$pj6$1@nnrp.usenet.blueworldhosting.com> <11dvg0e$18965$1@dont-email.me> <11dvnpt$2q1n$1@nnrp.usenet.blueworldhosting.com> <11dvo99$8sg$1@nnrp.usenet.blueworldhosting.com> <11dvodu$1bds1$4@dont-email.me> <11e07e2$257k$1@nnrp.usenet.blueworldhosting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 23 Nov 2026 08:43:24 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1800929"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194dOkik98Ukq29/P4UNZfOh3zcbLiNfm8="; posting-host="aade93b279432bb607acce40a7c1f963" User-Agent: NewsTap/5.6.3 (iPhone/iPod Touch) Cancel-Lock: sha1:NhCGOAovLfWIOWon+iLIZTx/P1s= sha1:Th4INKffMKgBqr1nsKFDu2rPyko= sha256:1SrjqN3/ivjQAHVwiAJXTylF/VXqgK5iRqzeFdxNcLI= sha1:VIgaEWTnK+cXX0U2jjwIy4s+M/c= sha256:L4fNSb7AEn5F2DNpQ9KLCOslOLt8D/DW0SxMxOtQOQw=