News for hackers. Stuff that matters.
Re:Move all photos from Google takeout into one directory by anaganisk on Wednesday November 02, 2022 @02:28AM (#33431994)
What’s wrong with a js script if author is comfortable with it? Is it a rule that everyone must know linux commands?
Re:Move all photos from Google takeout into one directory by dmitrygr on Wednesday November 02, 2022 @02:33AM (#33432022)
> What’s wrong with a js script

Not much more than is wrong with sending a nuclear-powered aircraft carrier to kill a mosquito

> Is it a rule that everyone must know linux commands?

Unix, and yes. Every system around you is built on it or something derived from it (either literally or in design).

Re:Move all photos from Google takeout into one directory by anaganisk on Wednesday November 02, 2022 @09:14AM (#33435182)
Wrong comparison, I’ve taught enough people both UNIX and JS, and there are many of them who consider JS more easier than to grok and use than bash/unix. Not everyone wants to remember all the commands, and most of them use windows.

Also, no not every system around me requires me to learn unix, I can use my phone, microwave or even my gaming laptop(windows) without ever opening CLI. Unless Im at work or am I tinkering with my PI4s I don’t even have to touch CLI or even think about a unix command.

Re:Move all photos from Google takeout into one directory by kfrzcode on Wednesday November 02, 2022 @04:03AM (#33432550)
Yes, rules 8 and 14
Re:Move all photos from Google takeout into one directory by anaganisk on Wednesday November 02, 2022 @09:16AM (#33435228)
From Unix handbook of how to make people hate the community? C’mon author was good enough to share a script for us to use, he might be just starting in programming, or may be its for a windows use case, don’t have to be so rude like the original commenter which is what I didn’t like.
Re:Move all photos from Google takeout into one directory by kfrzcode on Wednesday November 02, 2022 @06:18PM (#33443690)
I'll refer you to rules 0 and 1
Re:Move all photos from Google takeout into one directory by jcutrell on Wednesday November 02, 2022 @08:54AM (#33434934)
There is nothing wrong with it per se, and no, you don’t have to know Linux commands to get by.

Sure, a Linux one liner might be “easier” to someone who knows Linux… but that doesn’t mean it’s “wrong.”

Re:Move all photos from Google takeout into one directory by ljahier on Wednesday November 02, 2022 @09:39AM (#33435574)
Here the author, I'm not working on windows but macos. I know, the script is not recursive but it's not the goal. The directory architecture of Google takeout > Google photos is one directory per day when there are pictures. In this directory, there are no other directory so the recursive is useless.

The goal was to make a script in quick time and I'm comfortable with nodejs that's why I chose it.