1559210 : file rename on raw folder of the beamtime

Created: 2025-12-08T12:50:05Z - current status: new

The user is requesting assistance with renaming files containing special characters (brackets) in their filenames to ensure they can be processed by the autoprocessing system. The user suggests replacing the brackets with underscores.

Anonymized Summary:

A user is requesting help with renaming files containing special characters (brackets) in their filenames to ensure they can be processed by the autoprocessing system. The user suggests replacing the brackets with underscores.

Solution:

The user can use the following command to rename the files by replacing brackets with underscores:

find /asap3/petra3/gpfs/p11/2025/data/11023279/raw -type f -name "*(*)*" -exec bash -c 'mv "$0" "${0//\(/}_" "${0//\)/}_"' {} \;

This command will recursively find all files with brackets in their names and rename them by replacing the brackets with underscores.

References:

  • The context provided does not contain specific information about the autoprocessing system or the exact requirements for filenames. However, the solution is based on standard practices for handling special characters in filenames.