dharple / detox

Tames problematic filenames
BSD 3-Clause "New" or "Revised" License
332 stars 19 forks source link

unconvertible files? #75

Open dsclassen opened 3 years ago

dsclassen commented 3 years ago

I've got a few dozen files that have these weird hollow boxes in them.

I've tried a number of methods to rename them and remove the bad characters without any luck so far. I tried detox and this is an example of the message received:

Cannot rename buster//coot-backup/_Volumes_fereyes_Pm12_img12_data1_pxuser_cech3_px07-0106_Pm12_7_process_mr_AutoMR_run_9__buster_05-input_remediated.pdb_Wed_Dec_19_163420_2012_modification_16.pdb.gz to buster//coot-backup/Volumes_fereyes_Pm12_img12_data1_pxuser_cech3_px07-0106_Pm12_7_process_mr_AutoMR_run_9_buster_05-input_remediated.pdb_Wed_Dec_19_16i_cent_34i_cent_20_2012_modification_16.pdb.gz: No such file or directory

I would greatly appreciate any suggestions or advice. Thanks.

dharple commented 3 years ago

Hi,

That error message is strange, and I was unable to reproduce it in a blind test.

The box is a UTF-8 representation of Unicode 0xF022.

I can create a similar filename using the following command, but I don't get the same error message you do when I run detox against it.

printf "'this is a \uf022 test.txt'" | xargs touch

Can you fill me in on some other details? What filesystem is this file stored on? What OS are you using? What version of detox are you using? Can you tab complete the filenames?

I can help you with the commands to run if you're unsure how to gather this information.

Thanks! Doug