#!/bin/bash for file in $* do echo $file.c "->" ${file}.not_used mv $file.c ${file}.not_used done