Drag the files you don't want into your trashcan on the desktop, then Right click on the trash can and click empty.
Garbage is useless residue whereas the trash is useless thing.
Your computer (I'm assuming that's what your talking about) needs it to stay "in shape" via system maintenance. Useless binaries and language files can slow a hard-disk drive and if you clear them it will also save you space. Trash should be emptied, application junk and leftovers should be cleared. All of this is necessary to keep your computer from being slower then when you first purchased it.
Trash cleaner is a software tool that helps remove unnecessary files and data from your computer, freeing up storage space and potentially improving system performance. It usually targets temporary files, cache files, and other clutter that can accumulate over time. It can be useful for optimizing your device's storage and getting rid of files that are no longer needed.
"Useless"or trash
drag them to trash, empty trash
TRash Can
To completely clear hidden files on a USB drive on a Mac, start by opening the Terminal application. Use the command defaults write com.apple.finder AppleShowAllFiles YES to reveal hidden files, and then press Command + Shift + . in Finder to toggle visibility. Once you can see the hidden files, you can delete them manually. Finally, empty the Trash to ensure they are permanently removed.
trash =) or shift+delete
To retrieve vanished files on your computer, first check the Recycle Bin or Trash, as deleted files may still be there. If they're not, use the 'Search' function to look for the files by name or type. You can also try restoring previous versions of the folder where the files were located by right-clicking and selecting "Restore previous versions." If these methods fail, consider using file recovery software to scan your hard drive for lost files.
To remove a .jpg file click on the files icon and drag it into the Trash icon in the Dock or right click on the files icon and select Move to Trash from the menu. Click and hold on the Trash icon and select Empty Trash to remove the .jpg from the Mac.
In Google Drive, files that are moved to the Trash are retained for 30 days before being permanently deleted. After this period, they are automatically removed and cannot be recovered. Users can manually empty the Trash at any time to permanently delete files sooner.
To delete all files of a program: -Go to Library -Look for any files with the program's name or developer's name in the /Library//Library/Preferences/ and the /Library/Application Support/ folders. -Move the files to the trash. -If the trash will not empty. Reboot and try again. However, the easiest way to delete any program on a Mac computer, is to go to the application folder and move the program to the trash. This will effectively delete the program, although some files will remain and add to the disk clutter. these can be fished out, as above. See related link.