I'm trying to delete older application backups in the CLI, and it says I can't because the filepath is too many characters.
Ex. prime/admin# delete disk://defaultRepo/prime-150916-0330__VER22.214.171.124.158_BKSZ126G_CPU16_MEM4G_RAM15G_SWAP15G_APP_CK2774132844.tar.gpg
% param string too long detected at '^' marker.
So, how do I delete these files?
I have the same problem with you, cannot delete the too long backup data, and I cannot find any "rename" or "mv" command to change the files name shorter.... how was your solve such issues?
If you use the "root" command, after enabling it with "root_enable", you can go into the underlying Linux shell. From there, go to the /localdisk directory. Change to whichever directory the file is in, then do a "rm filename". Just ran into the same issue, and this worked.
Note that the "root" command has been changed to the "shell" command as of PI 3.0.
A couple of people have mentioned using the Long Path Tool. If there is a way that you know of to access the file structure within Prime remotely via Long Path Tool (or any other way,) please share those steps. To my knowledge, it isn't possible, but would love to be wrong on this.
“Long Path Tool” is very helpful for this error !
You can use to solve this problem
Long Path Tool help me a lot when i have an issue like file deleting or renaming the file. Also good to use if file name and file extension is too long.
I used to have similar problems too, but after using "long path tool" everything was solved. Try this software and you would be glad you did.
Long path tool is the very good program for error, unlock solution.
Try it and solve your problem.
I used long path tool and I solve my error, unlock problem solution.
Do not use other programs use SSH, Root acces and Linux commands.
Password Again :
Enter root password :
Starting root bash shell ...
ade # cd /localdisk/defaultRepo/
ade # ls -lh
-rw-rw-rw- 1 root gadmin 3.1G Jul 9 03:50 xprime-170709***********************.tar.gpg
ade # rm xprime-170709***********************.tar.gpg