Jump to content

Recommended Posts

Posted

requirement ila undhi baa

move all the files of same kind from one directory to another directory


source directory:  /Source/set/infa

files to be moved

one.xml
two.xml
three.xml
.
.
.
.
.
xyz.xml


destination directory: /target/set/xyz



all files  with .xml as extension  should be moved



thanks in advance




Posted

I am not sure whether it works or not but jus give a try

take backup of xml file from source dir

mv /source/set/infa/ *.xml  /target/set/xyz/*.xml

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...