Move Large Regular Files to /tmp with Interactive Overwrite
Goal: In the current directory subtree, locate all regular files (type f) larger than 1 MiB and move them to /tmp. If a file with the same name already exists in /tmp, mv should prompt for confirmation before overwriting.
What you must do:
Use a single shell command (or a compact pipeline) that finds and moves all qualifying files.
Ensure handling of spaces and special characters in filenames.
Do not attempt to preserve directory structure; all files should be placed directly in /tmp with their base names.
Expected deliverables:
The command(s) you used.
A brief explanation of what happens to files in case of name collisions.
Optional: a note on how you tested it (e.g., dry-run or verifying results).
Baseline constraints:
Search should start in the current directory (not the entire filesystem).
Only regular files (not directories, links, devices) should be moved.