Skip to content
This repository was archived by the owner on Apr 21, 2019. It is now read-only.

BenDoan/rmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmv

Example commands:

rmv train_dir # moves 50% of files in the current directory to train_dir
rmv -g "*.jpg" test_dir # moves 50% of jpgs in the current directory to test_dir
rmv -p 70 ~/downloads # moves 70% of files in the current directory to ~/downloads

Usage:

usage: rmv [-h] [-p PERCENT] [-g GLOB] [source] dest

Randomly moves files to a directory

positional arguments:
  source
  dest

optional arguments:
  -h, --help            show this help message and exit
  -p PERCENT, --percent PERCENT
                        The percent of the directory to move, default is 50
  -g GLOB, --glob GLOB  filters the list of files to move

About

Utility for moving random groups of files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages