usind mv in a script

Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default usind mv in a script

    I know that you can find files and removed them after a certain number
    of days from creation date.

    Can you find files and move them to another location after a certain
    number of days? Can someone tell me how to do this?


    Janet
    janet Guest

  2. Similar Questions and Discussions

    1. 6.1 script not working on 7.0 server. Script used towork!
      I've a problem with some coldfusion 6.1 scripts running on a server with coldfusion 7. It seems that it isn't accepting the hidden type for the tag...
    2. centering a div tag usind css
      i wish to centre a div tag on my page using css so that it remain in the centre of my page no matter how much i expand and retract my browser ...
    3. CF Grid / Java Script / Action Script
      Hi, Does anyone know of a good reference for the attributes CFgrid exposes in a flash form? eg. I would like to select the first row on load. ...
    4. ksh script - Preventing multiple runs of a particular script
      I am having trouble with a ksh script I am writing. I need to make sure that the script is not already running when it is kicked off in cron. ...
    5. Execute shell script from a perl script
      Hi, How can I executed a Unix shell script from a Perl script. The shell script is a dump of a oracle table to a file. The perl script is for...
  3. #2

    Default Re: usind mv in a script

    On Sat, 02 Aug 2003 at 14:39 GMT, janet wrote:
    > I know that you can find files and removed them after a certain number
    > of days from creation date.
    The creation date is not stored anywhere.
    > Can you find files and move them to another location after a certain
    > number of days? Can someone tell me how to do this?
    In that same way as removing them; use mv instead of rm.

    NOTE: shell scripting questions should be posted in comp.unix.shell.

    --
    Chris F.A. Johnson [url]http://cfaj.freeshell.org[/url]
    ================================================== =================
    My code (if any) in this post is copyright 2003, Chris F.A. Johnson
    and may be copied under the terms of the GNU General Public License
    Chris F.A. Johnson Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139