| | 82 | ==== Box Limitations ==== |
| | 83 | |
| | 84 | When transferring your files from Cypress to Box, ensure that your files and directories meet the following Box limitations: |
| | 85 | |
| | 86 | * The size of each individual file must be less than 500 GB. |
| | 87 | * For optimal performance, each directory should contain fewer than 5,000 files. |
| | 88 | * File and directory names must be unique within a single directory (Box’s file system is case-insensitive). |
| | 89 | |
| | 90 | To detect files and directories that do not meet Box limitations, please follow the steps below. |
| | 91 | |
| | 92 | On Cypress, download the script, |
| | 93 | {{{ |
| | 94 | git clone https://gitlab.tulane.edu/fuji/trimming-files-dirs-for-box.git |
| | 95 | }}} |
| | 96 | |
| | 97 | Edit the directory you want to check: |
| | 98 | {{{ |
| | 99 | cd trimming-files-dirs-for-box |
| | 100 | nano TrimFileDir4Box.sh |
| | 101 | }}} |
| | 102 | |
| | 103 | Update the ''directory'' variable (e.g., change it to "/lustre/project/vthannickal") to match the target directory you want to process. |
| | 104 | |
| | 105 | Submit a job |
| | 106 | |
| | 107 | {{{ |
| | 108 | sbatch TrimFileDir4Box.sh |
| | 109 | }}} |
| | 110 | |
| | 111 | After the job is completed, check the log file. It will report any files or directories that do not meet Box limitations. |
| | 112 | |
| | 113 | The document is also available here: |
| | 114 | [https://gitlab.tulane.edu/fuji/trimming-files-dirs-for-box] |
| | 115 | |
| | 116 | |