OneDriveRx - Cleanup OneDrive File Names
|
|
Utility for Renaming Files and Folders for OneDrive,
|
The
file or folder name <name> contains invalid characters. Please use a
different name. Invalid characters include
the following:
~ " # % & * : < > ? / \ { | }. The name cannot begin or end with a dot and cannot contain consecutive dots. |
The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less (and no more than 128 characters for any single file or folder name in the URL). Please type a shorter file or folder name. |
In addition to truncation, OneDriveRx provides for user-defined character string substitutions which you can use to abbreviate common words in the file and folder names. This can help you retain usable names.
If you are having Sync problems or if you are seeing any of the following
messages,
OneDriveRx should prove useful...
Error 0x8007007A: The data area passed to a system call is too small. |
The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less... |
The URL for this file is too long for the application. A temporary copy of this file will be opened on your computer. You must save this copy as a new file. |
A file or folder can't be created because the path is too long. |
...path to a file is too long... |
The current version of OneDriveRx is 5.02.
The following are the some of the known File and Folder name
restrictions for OneDrive / SharePoint:
1. The name can not contain any of the following characters:
"
|
-
|
Quotation mark |
#
|
-
|
Number sign |
%
|
-
|
Percent Sign |
&
|
-
|
Ampersand |
*
|
-
|
Asterisk |
:
|
-
|
Colon |
<
|
-
|
Less than Symbol |
>
|
-
|
Greater than Symbol |
?
|
-
|
Question Mark |
\
|
-
|
Backslash |
{
|
-
|
Left Brace |
}
|
-
|
Right Brace |
|
|
-
|
Pipe |
~
|
-
|
Tilde |
/
|
-
|
Slash |
2. The name can not begin or end with a period
3. The name can not contain a double period
4. The folder name and file name length depends on the SharePoint / OneDrive system used.
Separate documentation for determining your maximum folder name and file name
lengths is available at
A Free Utility is available to help determine these maximum
values at
For the File Lengths tab and the Folder Lengths tab, folder names will be shortened to the length specified in the Max Folder field and file names will be shortened to the length specified in the Max File field.
In previous versions, this was documented as a separate function,Truncate, which removed characters from the right end of the names. In the current version, the characters are removed from the center of the names which should yield more readable names.
The current version includes a function for reducing path lengths to the length specified in Max Path. The Repair function under Path Lengths performs its name reductions by attempting to remove a proportional number of characters from each level based on the number of characters available for removal.
The Resolve Duplicate Names function can be used to resolve any duplicates created by shortening, etc..
OneDriveRx is currently distributed only as a Limited-Trial.
The rename and delete functions are available, but limited, in Limited-Trial mode.
The reason for this marketing approach is that
many organizations may need OneDriveRx for only a single day to
cleanup their sync folders.
The Limited-Trial
is limited to
However, this approach permits you to use OneDriveRx as a
diagnostic tool to check the lengths of file and folder names as well as
to identify the quantity of names that require renaming. In short,
you can determine whether you need the rename functions of OneDriveRx
before committing to the purchase of a license.
Upon purchasing a license, you will be sent a Registration Code which
you enter into OneDriveRx to complete the registration process. This
will enable all of the program's functions.
Site Licenses or Multiple-use Licenses are available for larger organizations
that need them. These licenses are priced based on the number of computers
that would make use of the program. An additional 25%
discount is available for Site Licenses for educational
institutions, public libraries and government facilities.
If your company requires you to fully test software prior to purchase
and you are likely to purchase if you could verify that OneDriveRx
would work on your projects and systems,
SharePrep and OneDriveRx makes use of the short form of file and folder names to perform the
renames. This is the older 8.3 format of the names that are normally
maintained in the directories of the drive volumes. Some have modified
their systems to avoid the creation of the 8.3 names on NTFS
volumes. This can cause some renames to fail.
Further, some larger data centers have transferred MAC-created files
to their servers. As MAC systems allow filenames considered invalid
to Windows systems, SharePrep and OneDriveRx may have trouble with these
particularly when the invalid character occurs within the short name.
Therefore, Assistance & Resources for Computing, Inc. will refund
the license fee upon receipt of proof that OneDriveRx is unable to
perform as advertised. Any request for a refund
must be made within 30 days of the purchase.
The credit for the idea to create SharePrep belongs to Göran Husman.
He is an author, SharePoint MVP, Consultant & Trainer residing in
Stockholm, Sweden. Göran is president of HumanData Inventus AB
- https://www.humandata.se/
He has published several SharePoint books.
Göran first requested a change in the scan function of Delete
Invalid Files, to search for additional characters. After
receiving a pre-release copy of the program with the enhanced function, he
requested that the program be enhanced to automatically rename files to
replace the given characters.
He explained that he had a client with
a project containing over 55,000 files to be imported into SharePoint.
The scan revealed that there were over 1,000 files with restricted
characters that would have to be manually modified before importing into SharePoint.
Development of SharePrep began the next day.
Once again, OneDriveRx is a limited version of SharePrep.