Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everybody, I would like to know a way to move recursively some files. The situation is this: I have a folder which contains a lot of subdirectories which contains ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    51

    Move Recursive?

    Hi everybody,

    I would like to know a way to move recursively some files.

    The situation is this:

    I have a folder which contains a lot of subdirectories which contains more subdirectories.

    Every folder in these directories, contains a file called "read.txt", and I would like to changed its names for "readme.txt".

    The worst way I think should be changing the names manually, but I think there should be a better way...

    I read the man page of mv command but I didn't find anything...

    So, any ideas??

    Thanks!!!

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    Write a shell script

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    51

    Still looking for a command...

    I've been trying some commands, and I think some command like find / -name "read.txt" -exec mv {} readme.txt \; should work, but it doesn't...

    Anymore ideas?

    Aleix

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •