Posts

Showing posts from February 21, 2019

How to sync two directories based on (filename,filesize) double and ignoring the sub-directory structure

Image
0 I messed up our family photo archive of 50k photos/videos. Now I have two directories: A directory with subdirectories and correct modified dates but a lot of missing files. Another backup directory with all files under wrong subdirectory structure and wrong modified dates. What I want to do is, filter all files in the second directory if its filename and filesize doesnot match a file in the first directory. (since there are different photos with the same filename but different size). I couldn't find a way to do this with rsync. Any ideas? Thanks. rsync synchronization share asked 4 mins ago ilker ilker ...

Not sure how to set up the Laplacian/Poisson Equation

Image
2 $begingroup$ As stated, I am having trouble trying to set up a Laplacian/Poisson Equation. I have boundary conditions with this too, and I've tried using the DirichletCondition function, but I don't know what I'm doing there either. (I have almost zero Mathematica experience, and the Wolfram site's help is just as confusing to me as the program.) Laplacian[V[x, y], {x, y} == 0; V[x, 0] == 0; V[x, 0.05] == 1; V[0, y] == 0; V[0.1, y] == 0;] Plot[{x, -0.25, 0.25}, {y, -0.15, 0.15}] While I am getting that plot to appear, it's not even close to what I need. What I'm needing is the solution to appear within the region 0 ≤ x ≤ 0.1 and 0 ≤ y ≤ 0.05, as stated by the boundary conditions (rectangular). It's supposed to be a distribution type of plot, kind of like elevation con...