mv file1 file2 : Rename a filemv -b file1 file2: Makes a backup of bar if it existsmv -i dir1 dir2 : Moves files and interactively ask to overwrite target if exitsmv -n file dir/ : Moves if destination doesn't existmv file dir/ : Move a file into a directoryfor f in *.txt; do mv "$f" "${f%.txt}.md"; done : Converts all .txt to .md ({f%.txt} strips extension)find . -type f -mtime +7 -exec mv {} archive/ \; : Move files older than 7 daysmv -- -file new_file: Move files starting with -