Skip to main content

All Questions

Tagged with
-2 votes
1 answer
272 views

Move every 500 files in new directory [closed]

I have a directory that contains 10,665 jpeg files. I want to move 500 files to a new directory, and 500 to the next directory, etc. The largest files must be moved first: 500-1 contains the 500 ...
Fakhamatia's user avatar
2 votes
3 answers
238 views

Moving files to directories named after the first 6 digits in the file name

I've got thousands of raw photos (.nef) and relative settings (same filename but .xmp extension) in a single directory on a QNAP nas. My goal is to automate the creation of subdirs named like yyyy-mm ...
Francesco Bacigalupo's user avatar
-2 votes
2 answers
5k views

Bash command to create a folder and move specific files into it

I am trying to achieve this using bash I have a directory of files, a sample to get the picture is below: January 2010 MA - C3 Edexcel.pdf January 2010 MS - C3 Edexcel.pdf January 2010 QP - C3 ...
user avatar
1 vote
2 answers
418 views

Nautilus-script to move file into same name directory

How can I create a Nautilus script that moves a the selected file into a new folder with the same name? My starting point: /home/user/123 here 123 is a file with no extension My goal here is to ...
oak-island-pirate's user avatar