[master] [/sitecore/Media Library/Project] INCORRECT FILE PATH: ~/FormAndGuidsSite/FormAndGuidsSite/System/6,
[master] [/sitecore/Media Library/Project] found: ~\FormAndGuidsSite\FormAndGuidsSite\System\6.yml,
[master] [/sitecore/Media Library/Project] expected: ~\Project\FormAndGuidsSite\FormAndGuidsSite\System\6.yml
[master] [/sitecore/Media Library/Project] > Fix will move to correct location
Filesystem integrity validation found errors in serialized files! Use the validate command to fix these.
I have moved some of the files manually in the items folder where sitecore serialization stores all the serialized items. Because of this it is complaining that some of the paths have moved.
To fix this run the below commands:
Below command will tell you which items are failing.
dotnet sitecore ser validate
Below command will fix all the errors
dotnet sitecore ser validate --fix
Now you can run the serialization command and you won't see any errors.