Howdy,
I'm trying to figure out how to move multiple files based on their creation date. If anyone can enlighten me it would be most appreciated!!
Thanks!
:D (1 Reply)
Hi all,
I always getting great response from this forum, that why i am putting again....
I am working in a company which is giving ATM support.In one of my production server a lot of files are getting generated every day. I want to move these files to another name.
The file name which is... (4 Replies)
hi
i have to move files and send an email and attached the bad files to inform the developer about that.
#!/bin/ksh
BASE_DIR=/data/SrcFiles
cd $BASE_DIR
## finding the files from work directory which are changed in 1 day
find -type f -name "*.csv" –ctime 0 > /home/mydir/flist.txt
##... (14 Replies)
Hi All,
I am currently coding for a requirement(LINUX OS) where I am supposed to move a file (Lets Call it Employee.txt) from Directory A to Directory B based on 2 date fields as below,
Date_Current = 20120620
Date_Previous = 20120610
Source Directory : /iis_data/source
Target... (11 Replies)
Hi,
I need a script that moves files based on date to a folder. The folder should be created based on file date. Example is :
Date file name
----- --------
Oct 08 07:39 10112012_073952.xls
Oct 09 07:39 10112012_073952.xls
Oct 10 07:39 ... (6 Replies)
Hi,
I have a directory having so many number of files. Now I want to move the files which are older than one month (lets say) from this directory to another directory (say BKP dir).
Simply, if file is olderthan one month move it from source1 dir to BKP1 dir.
My file names doesn't have... (7 Replies)
I have a log file that I want to archive out as it reaches 100MB. I am using the following to get the file size into a variable but get the error "line 5:
filesize=$(wc -c < logfile.log)
if
then
echo "is greater than 100M"
else
echo "is less than 100M"
fi
I'm sure there's something... (2 Replies)
Hi All,
I have multiple files in the folder, I want to move those files into the other folder on based of name
File names:
Template_server1_01==>
Template_server1_02==>To one directory /Server1
Template_server1_03==>
Template_server2_01==>
Template_server2_02==>To one... (9 Replies)
Hi all
I am trying to loop through a directory of files using a given search pattern. some of the files will be duplicated due to the pattern, but of the duplicate files i wanted to move the older files to another location.
Is there any straightforward way of doing this ?
One of ways I... (1 Reply)
Discussion started by: sthapa
1 Replies
LEARN ABOUT MOJAVE
uupick
uupick(8) System Manager's Manual uupick(8)NAME
uupick - retrieve files transferred by uuto
SYNOPSIS
uupick [-s system] [--system system]
DESCRIPTION
The uupick program is used to conveniently retrieve files transferred by the uuto program.
For each file transferred by uuto, uupick will display the source system, the file name, and whether the name refers to a regular file or a
directory. It will then wait for the user to specify an action to take. One of the following commands must be entered:
`q'
Quit out of `uupick'.
`RETURN'
Skip the file.
`m [directory]'
Move the file or directory to the specified directory. If no
directory is specified, the file is moved to the current directory.
`a [directory]'
Move all files from this system to the specified directory. If no
directory is specified, the files are moved to the current
directory.
`p'
List the file on standard output.
`d'
Delete the file.
`! [command]'
Execute `command' as a shell escape.
OPTIONS -s system, --system system
Used to restrict `uupick' to only present files transferred from a particular system.
Standard UUCP options:
-x type, --debug type
Turn on particular debugging types. The following types are recognized: abnormal, chat, handshake, uucp-proto, proto, port, config,
spooldir, execute, incoming, outgoing.
-I file, --config
Set configuration file to use.
-v, --version
Report version information and exit.
--help
Print a help message and exit.
SEE ALSO uucp(1), uuto(1)AUTHOR
Ian Lance Taylor <ian@airs.com>. Text for this Manpage comes from Taylor UUCP, version 1.07 Info documentation.
Taylor UUCP 1.07 uupick(8)