general

Missing Cloud Files

Resolution Checklist

  • 1 Understand Why Files Disappear
  • 2 Search and Recover in Windows Filesystem and Recycle Bin
  • 3 Locate Hidden and Deleted Files on macOS
  • 4 Audit Shared Folders and Remote Cloud Trash Consoles
  • 5 Summary Quick Reference Checklist

Missing Cloud Files

“Missing Cloud Files” describes the situation where files or folders that were previously visible in your cloud directory vanish from your local file manager (Explorer or Finder) or the cloud web console. This can occur due to accidental deletion, local cache corruption, automatic antivirus quarantines, or selective sync settings that hide files.

This guide provides terminal commands and search routines to locate missing files, inspect local safety buffers, and restore lost data on both Windows and macOS.


1. Understand Why Files Disappear

Files typically go missing due to:

  • Selective Sync/Files On-Demand: The client app is configured to save disk space, rendering files “online-only” (virtual placeholders). Some local apps cannot read these placeholders and treat them as missing.
  • Accidental Group Deletion: In a shared workspace, a co-author deleting a folder deletes it from everyone’s connected devices.
  • Antivirus Deletion/Quarantine: Security software scanning the sync folder flags a file as a threat and moves it to quarantine without informing the sync engine.
  • Incorrect Sync Directory Mapping: The desktop client was updated and mapped sync operations to a new, empty directory (e.g. OneDrive 1 instead of OneDrive).

2. Search and Recover in Windows Filesystem and Recycle Bin

On Windows, check the local system Recycle Bin and search your system for hidden files or quarantine records.

A. Search the Windows Recycle Bin via PowerShell

Sometimes files are deleted locally and bypassed standard notifications. Check the Recycle Bin via PowerShell:

  1. Search for PowerShell in the Start Menu and open it.
  2. Run the command to list Recycle Bin items from your cloud directory:
    # List deleted files originally located in the OneDrive folder
    Get-ChildItem -Path C:\`$Recycle.Bin -Recurse -Force -ErrorAction SilentlyContinue | 
    Where-Object {$_.FullName -like "*OneDrive*"} | Select-Object Name, Length, LastWriteTime

B. Find Hidden Files in the Sync Directory

Verify if the files are present but have been flagged with the “hidden” attribute:

:: Show all files (including hidden and system files) in the OneDrive root
dir "%UserProfile%\OneDrive" /a:h /s

If files are hidden, strip the hidden attribute:

attrib -h -s "%UserProfile%\OneDrive\path-to-file.docx"

3. Locate Hidden and Deleted Files on macOS

On macOS, you can scan the Trash container and audit hidden files using Terminal commands.

A. List Deleted Cloud Files in the macOS Trash

Check the system Trash directory using terminal commands to search for files originally in the CloudStorage directory:

  1. Open Terminal (via Spotlight).
  2. Scan the Trash directory:
    # Search the macOS Trash for deleted cloud files
    find ~/.Trash -ipath "*CloudStorage*" -o -ipath "*OneDrive*"

B. Unhide Files in the macOS CloudStorage Path

macOS hides files starting with a dot (.). If your files have been renamed with a leading dot, they become invisible in Finder. Reveal them:

# List all hidden files in the CloudStorage directory
find ~/Library/CloudStorage -name ".*" -not -name ".DS_Store"

To rename and restore a hidden file, remove the leading dot:

mv ~/Library/CloudStorage/folder/.*hiddenfile* ~/Library/CloudStorage/folder/visiblefile

4. Audit Shared Folders and Remote Cloud Trash Consoles

If files are not found on the local computer, they must be recovered from the cloud provider’s web-based version history and trash consoles.

Check the Online Cloud Trash Bin

Every major cloud provider stores deleted items in an online recycle bin for a set period (usually 30 to 93 days).

  1. Log in to the web interface of your cloud provider (e.g. OneDrive.com or Drive.google.com).
  2. Click Recycle Bin, Trash, or Bin in the sidebar.
  3. Locate the missing files.
  4. Select the files and click Restore. This will push the files back to the cloud and download them to all connected desktop clients.

Check Shared Folder Member Activity

If the missing files were in a shared directory, audit the activity log:

  1. Navigate to the parent shared folder in the cloud web portal.
  2. Open the Details or Activity pane.
  3. Review who modified or deleted the files. If another user moved them, they will appear missing for you, but they can be recovered from the specific user’s trash bin.

5. Summary Quick Reference Checklist

Action TargetOperating SystemTerminal Command / PathExpected Outcome
Search Recycle BinWindowsGet-ChildItem -Path C:\$Recycle.Bin -Recurse...Lists deleted cloud items inside the system trash.
Show Hidden FilesWindowsdir "%UserProfile%\OneDrive" /a:h /sDisplays files marked with hidden OS attributes.
Strip Hidden FlagsWindowsattrib -h -s <file>Restores visibility of locked hidden files.
Search macOS TrashmacOSfind ~/.Trash -ipath "*CloudStorage*"Searches the Mac Trash container for sync files.
Reveal Dot FilesmacOSfind ~/Library/CloudStorage -name ".*"Shows files hidden by macOS naming conventions.
Web Recycle BinWeb PortalCloud Console > Recycle Bin/TrashRestores items deleted at the cloud server level.