Re:Move all photos from Google takeout into one directory
by justsomehnguy on Wednesday November 02, 2022 @07:31AM
(#33434098)
[ Parent
| on HN ]
Re:Move all photos from Google takeout into one directory
by johntash on Thursday November 03, 2022 @12:24AM
(#33446965)
Out of everything in this thread, this was the most interesting to me. I didn't know you could pipe a list of files to mv. It makes sense, I guess I just never tried it because anything I would have used it for, I would have used find or xargs instead.
Re:Move all photos from Google takeout into one directory
by justsomehnguy on Thursday November 03, 2022 @09:13AM
(#33450432)
This is PowerShell and it doesn't work on *nix machines because ls and mv are native binaries.
Would work on Windows, would work on *nix if change it to
gci -Recurse -Filter *.jpg | move dest_dir