How to delete redundant files in Drive when syncing from server?

I want to delete files that no longer exist on the drive, ie the file no longer exists on the main server but it was still on the Drive at the previous sync. What can I do?
This is the command I am using: rclone sync -i SOURCE remote:DESTINATION

hello and welcome to the forum,

need to be careful, as rclone sync can delete files, so let's be clear.

what is the source - the main file server that is local and on which rclone will be run?
what is the dest - the google drive?

do you have an actual rclone command that you are been using?

i install aapanel on centos, i install with command curl | sudo bash, and dest is the google drive.

thank you for sharing your reply with us...this is really helpful for me

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.