Here’s something I can’t figure out: When using dired to manage files, let’s say I have a top level directory with a ton of subdirectories, each with a GoPro video inside (unique name/time/date for each file name). How do I move them all at once to that top level directory for easier management/renaming? I don’t want to have to go into each directory and move them one at a time with R. Let’s say all of the files are MP4 or HEVC.

  • sceadu@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I know this is the emacs subreddit but I think it would be a better task for just the CLI ‘find’ command with mindepth and exec

    • arthurno1@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I think it would be a better task for just the CLI

      No, it wouldn’t :). You can certainly do it, but it is frankly, easier with Emacs only.

        • sceadu@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Yeah I was thinking just do the move in the CLI as a trivial step and use dired for bulk remaining (wdired mode)

    • TyrionBean@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yeah unfortunately, CLI scripting can get a little complex for me at times, and I knew that dired would have this built in somehow.