Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Question but forget the syntax...

Status
Not open for further replies.

h3nd

Programmer
Jul 1, 2006
147
AU
Hi guys,

I'm trying to move files from /mars/ to /backup/

The files that I want to move is all files except file with pattern *20060707*

what the syntax in unix :

"for file not in ls -l *20060707*"
mv /mars/file /backup/file

Thanks guys...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top