Open
Description
CommunitySolidServer/Recipes#53
This will solve the issue adding the missing triple to root/.meta
files
# cd /mnt/volume_lon1_01
## count root/.meta files
# find solidcommunity.net/*/.meta -type f -name ".meta" | wc -l
## list files that do contain `Storage`
# find solidcommunity.net/*/.meta -type f -name ".meta" -exec grep -L "Storage" {} ";"
## run update
# find solidcommunity.net/*/.meta -type f -name ".meta" -exec grep -L "Storage" {} ";" -exec sed -i '$a <> a <http://www.w3.org/ns/pim/space#Storage>.' {} + | wc -l
explanation of run update
- find
root/.meta
files - select
.meta
that do not have aStorage
string content - append to each
.meta
the triple<> a <http://www.w3.org/ns/pim/space#Storage>.
and print number of files appended
To test the run update script
, run it twice on an existing pod folder.
find solidcommunity.net/xxxx/.meta ....
Metadata
Metadata
Assignees
Labels
No labels