Skip to content

ecol-master/mmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mass Move Binary Utility

This utility is used to move files from one directory to another. It is useful when you have a large number of files to move and you want to do it quickly.

Usage

Your possible directory file structure:

some_dir/
  notes/
    2024-10-08.txt
    2024-08-07.txt
    2024-10-08.txt

    2023-12-11.txt

    notes-2024/
      ...

Use such command to move all files starts with 2024 from notes directory to notes-2024 directory:

./mmv './notes/2024-*.txt' './notes/notes-2024/2024-#1.txt'

After that, you will have:

some_dir/
  notes/
    2023-12-11.txt

    notes-2024/
      2024-10-08.txt
      2024-08-07.txt
      2024-10-08.txt

Testing

cargo test

Clippy Linting

cargo clippy

About

mass move binary utility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages