Search Results

Search: Posts Made By: sylcam
3,597
Posted By yazu
Assuming you do not have spaces in the names of...
Assuming you do not have spaces in the names of your files:
ls | awk -vSTEP=2 '
NR % STEP { print "echo mv " $0 " something_"...
3,597
Posted By cfajohnson
If you quote your variables, it doesn't matter...
If you quote your variables, it doesn't matter whether there are spaces in the name or not.

There is no need for ls. In fact, in many cases, it will cause problems when there are spaces in the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy