Jump to content

Unix Shell Script Help


Recommended Posts

Posted

Hi,

 

Say we have two folders SOURCE and DESTINATION and Source has 50 files I need to shell script which Can move 5 files at a time in FIFO order from Source to Destination.

 

Help please :)

  • Replies 35
  • Created
  • Last Reply

Top Posters In This Topic

  • chinni005

    14

  • sigsegv

    5

  • apple

    4

  • micxas

    3

Top Posters In This Topic

Posted

FIFO order ela decide chesthaav ?

we can sort using time stamp..!!

Posted

For loop
MV command

freak bhayya.. koncham script raasi ivvu..

Posted

source change avuthundha ?

SOURCE lo vochi xml files paduthu untaayi.. 

 

12343.xml

4345454.xml

34455656.xml 

.

.

.

.

.

5676787887.xml

 

 

ila untayi SOURCE lo

Posted

one by one copy cheyochu kada...5 files at a time ante idhe try chey

for i in 'cat SOURCE'
do

cp $i DESTINATION

done

×
×
  • Create New...