Improve this question. Gilles 'SO- stop being evil' k gold badges silver badges bronze badges. MrMe01 MrMe01 51 1 1 silver badge 6 6 bronze badges. What are you meaning by "filetype". Do you mean "extension" eg. Or do you mean the results of the file command? If you're sure that your duplicates are exactly the same file then you should compute checksums e. That's a good idea, except the machine is slow, with low resources.
I have two machines on this task, the slow Debian machine is just the LVM store, files are coming into the machine via an SMB share, the files being pulled off a USB drive, plugged into a fast er Windows 10 laptop. Getdataback is writing to it via a shortcut in the root of c: — MrMe Another trick you might consider is to look for a python script called "hardlink.
It will search directories for identical files and make them into hard links of each other, saving space. Add a comment. Active Oldest Votes. I wrapped Stephen's code in a script and slightly improved the pipe.
Specific file types can be specified using -f. Use the "Sort into subfolders" action and insert the "date.
RoboBasket support a lot of File Tags which you can use to create subfolders based on the files attributes. RoboBasket supports mp3 tag using as the files dynamic tag which you can use to create more powerful rules. Let's say you want to Sort all your mp3 files into Album subfolders. Create your rule like this. You can even create more professional folder structure to organize your music.
RoboBasket also supports using the Exif information as the file dynamic tag. The most useful tag is EXIF date. I prefer to organize my photos into year folders and rename all the photos to its exif date. With the "Rename" action it's easy to do this. Version 3. All rights reserved. Privacy Policy. I have the following structure: FolderA Sub1 Sub2 filexx. Add a comment. Active Oldest Votes. Raman Sailopal Raman Sailopal ShellCode ShellCode 5 5 silver badges 13 13 bronze badges.
Thank you very much for the side note. If csv files you want to move are in the top directories from the point of view of the current directory , but not in the subdirectories of them, then simply:! Nejat Aydin M. Nejat Aydin 4, 4 4 silver badges 10 10 bronze badges. As Nejat stated, this will only work "If csv files you want to move are in the top directories" — ShellCode.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Asked 7 years, 11 months ago. Active 2 years, 9 months ago. Viewed 11k times. I've had a Google but have only found GUI tools. Can this be done via the command line or a script?
0コメント