Consolidate files from sub folders of --path
directly to --path
Files moved will be given a numeric prefix according to their source folder to preserve sort order.
Trial mode:
fcon --path test/three_files --trial
Move the files:
fcon --path test/three_files
Careful !!! This has the potential to mess up your file system very quickly and drastically!
Do not rename files, skip conflicts:
fcon --path test/three_files --no-rename
Version
fcon --version
Verbose output
fcon --verbose
Delayed output - show STDOUT at end rather than immediate
fcon --delayed
Clone project
mkdir $HOME/git
cd $HOME/git
git clone https://github.com/Qarj/file-consolidator
Create symbolic link and activate
cd $HOME/git/file-consolidator
chmod +x fcon.py
sudo ln -sf $HOME/git/file-consolidator/fcon.py /usr/local/bin/fcon
fcon --version
chmod +x test_fcon.py
python3 test_fcon.py