The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script for moving files from one folder to other lalitkumar Shell Programming and Scripting 8 12-15-2008 07:32 AM
shell script for moving all the file from the same folder viv1 Shell Programming and Scripting 1 10-15-2008 04:59 AM
script for Finding files in a folder and copying to another folder satish2712 Shell Programming and Scripting 5 09-11-2008 05:07 PM
Moving Files from one folder to another folder farooqpervaiz Shell Programming and Scripting 10 08-07-2008 03:20 AM
Suppres error message when moving files from empty source folder Steven Shell Programming and Scripting 2 11-19-2001 01:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-26-2008
lalitkumar lalitkumar is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 6
Smile Script for moving files from one folder to other

Hi All

I need a shell script for move the 1 year old files from one folder to another folder with date and time.

How to write a shell script for the same pls hepl me out.
thanx in advance

Thanx
Lalit
  #2 (permalink)  
Old 11-26-2008
himvat himvat is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 68
try this

file1 > file2
  #3 (permalink)  
Old 11-26-2008
Franklin52 Franklin52 is offline Forum Staff  
Moderator
  
 

Join Date: Feb 2007
Posts: 4,342
Use the find command, there are a lot question regarding this topic, search for find files with the Google custom search right above.

Regards
Closed Thread

Bookmarks

Tags
shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0