F5F Stay Refreshed Software Operating Systems The files that remain unique are: file1.txt, document.pdf, image.jpg.

The files that remain unique are: file1.txt, document.pdf, image.jpg.

The files that remain unique are: file1.txt, document.pdf, image.jpg.

M
MrPokepoops
Member
56
09-07-2023, 11:29 PM
#1
You have many photos organized in folders, but after recent backups, you now have a main folder with all the family pictures. To see which ones are still unclassified, you can search through that main directory and list the files that haven’t been assigned a category yet.
M
MrPokepoops
09-07-2023, 11:29 PM #1

You have many photos organized in folders, but after recent backups, you now have a main folder with all the family pictures. To see which ones are still unclassified, you can search through that main directory and list the files that haven’t been assigned a category yet.

M
McJoelPlayz
Member
65
09-08-2023, 06:32 PM
#2
You can create a script to look through a folder on UNIX systems and find files that match a search term. There are numerous approaches to achieve this.
M
McJoelPlayz
09-08-2023, 06:32 PM #2

You can create a script to look through a folder on UNIX systems and find files that match a search term. There are numerous approaches to achieve this.

S
SophiaPav
Member
142
09-09-2023, 09:31 PM
#3
Here are the hashes for the categorized files, along with their paths:

- Folder 1:
- File: /path/to/file1.txt
Hash: a1b2c3d4e5f6...
- Folder 2:
- File: /path/to/file2.pdf
Hash: 9abc1234...

- Folder 3:
- File: /path/to/file3.docx
Hash: 5f6d7e8...

No duplicates found in the comparison list.
S
SophiaPav
09-09-2023, 09:31 PM #3

Here are the hashes for the categorized files, along with their paths:

- Folder 1:
- File: /path/to/file1.txt
Hash: a1b2c3d4e5f6...
- Folder 2:
- File: /path/to/file2.pdf
Hash: 9abc1234...

- Folder 3:
- File: /path/to/file3.docx
Hash: 5f6d7e8...

No duplicates found in the comparison list.

B
Bunyamin_YT
Junior Member
7
09-16-2023, 10:40 AM
#4
You might want a CLI tool such as fdupes to check the folder they're in. As mariushm mentioned, this utility performs hash comparisons. Be aware that using the -d option will remove duplicates. Use it only if you truly need it. I left it out of the examples. For more details, see the links for fdupes. To install: sudo apt-get install fdupes. Example command: fdupes --recursive --sameline /path/to/photos. You can also send the results to a file: fdupes --recursive --sameline /path/to/photos > /home/$USER/fdupes_out.txt. Learn more in the tutorial here: https://www.tecmint.com/fdupes-find-and-...s-in-linux and documentation at https://linux.die.net/man/1/fdupes.
B
Bunyamin_YT
09-16-2023, 10:40 AM #4

You might want a CLI tool such as fdupes to check the folder they're in. As mariushm mentioned, this utility performs hash comparisons. Be aware that using the -d option will remove duplicates. Use it only if you truly need it. I left it out of the examples. For more details, see the links for fdupes. To install: sudo apt-get install fdupes. Example command: fdupes --recursive --sameline /path/to/photos. You can also send the results to a file: fdupes --recursive --sameline /path/to/photos > /home/$USER/fdupes_out.txt. Learn more in the tutorial here: https://www.tecmint.com/fdupes-find-and-...s-in-linux and documentation at https://linux.die.net/man/1/fdupes.