10-05-2007
You need to look at '
man mv '.
mv [srce-path][srce-file] [dest-path][dest-file]
Briefly in regards to 'after an automated FTP' ... you'll need to create a loop that checks for the existance of the/a file [srce-file] in the [srce-path]. If it doesn't exist, then sleep for a few minutes, if found, perform your move.
Hope that's of some help to you.
Cheers,
Cameron
Last edited by Cameron; 10-05-2007 at 11:28 AM..
Reason: additions ...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Oracle procedure create files on UNIX folder on a regular basis. I need to FTP files onto windows server and place the files, based on their name, in the corresponding folders. File name is as follows: ccyymmddfoldernamefile.txt; Folder Name length could be of any size; however, the prefix and... (3 Replies)
Discussion started by: MeganP
3 Replies
2. Shell Programming and Scripting
Hi ,
I need a shell script which basicaly moves all the files from one folder say folder x to folder y and once they are moved to folder y a datetimestamp should be attached to there name
for ex
file a should be moved to y folder and renamed as a_20081015 (1 Reply)
Discussion started by: viv1
1 Replies
3. UNIX for Dummies Questions & Answers
i have created file in one of the folders on unix
UNIX 's36tou -T XYZ /tmp/p400/dataout/ias/AB >/dev/null
I am using above command to copy file from one system to unix
XYZ is name of file on my system usually this name is very big so i use -T to trim some charaters from name.
noe... (1 Reply)
Discussion started by: ajit.yadav83
1 Replies
4. Shell Programming and Scripting
Hi,
I need to move 1000s of files from one folder to another.
Actually there are 100K+ files.
Source dir : source1
Target dir : target1
Now if try cp or mv commands I am getting an error message : Argument List too long.
I tried to do it by the time the files are created in the source... (6 Replies)
Discussion started by: unx100
6 Replies
5. Shell Programming and Scripting
Hi Experts,
I have a "Source" folder which may contain some files. I need a shell script which should move all files which are older than 3 days to "Archive" folder.
Thanks in Advance... (4 Replies)
Discussion started by: phani333
4 Replies
6. Programming
Hi
I'm trying to look through a series of directories in A folder, lets just call it A:
for example:
A/1
A/2
A/3
Etc and I wish to move the files in the folder if they are bigger than a certain size into a structure like below:
A/TooBig/1
A/TooSmall/1
A/TooBig/2
A/TooSmall/2... (1 Reply)
Discussion started by: PerlNewbRP
1 Replies
7. Ubuntu
There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/logyou need to find out all the log files of last 1 month and move them into $HOME/logs/lastmonth/
this should be implemented with reference of file name.
---------- Post updated at 12:30 PM ----------... (3 Replies)
Discussion started by: shajoftaj
3 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/log you need to find out all... (4 Replies)
Discussion started by: shajoftaj
4 Replies
9. Shell Programming and Scripting
Hi,
I want to delete a file on the local server, while connected to remote server through FTP.
I am using the below code for this
$FTP_CMD -v -n $HOST <<*! >> $LOGFILE 2>&1
user $USER $PASSWORD
cd $DIR
... (11 Replies)
Discussion started by: jhilmil
11 Replies
10. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
XSOL(6) Games Manual XSOL(6)
NAME
xsol - X Solitaire
SYNOPSIS
xsol
DESCRIPTION
This manual page briefly documents xsol , a simple Motif/ Lesstif version of the classic solitaire game. It was written for the Debian
GNU/Linux distribution because the original program does not have a manual page.
HOW TO PLAY
Solitaire is a card game. At the start you are presented with seven columns of cards. First has only one card, second one has two, third
three and so on (28 in total), but only the first card in every column is shown ('opened'). Also there is the deck (24 cards at the start),
and four emtpy places for suit stacks.
Cards in the deck and in the columns are unsorted, and the object of Solitaire is to use all the cards in the deck to build up the four
suit stacks in ascending order, beginning with the aces. You can accomplish that by dragging and dropping the red onto the black (and black
onto the red) cards between the columns, and between the deck and the columns (but not the other way around). When you see a whole turned
card, click on it to see it ('open' it) and to be able to move it somewhere. Deck is opened by clicking on it; once you reach the end of
the deck, just click once more and you'll reopen it.
If you reach a point when you can't move any more cards to the stacks, and rearranging cards in columns and the deck gets you nowhere, the
game is over. Start it again.
OPTIONS
You can access all options within the program, through the 'Game' menu. There you have four options:
New game - start a new game,
Undo - undo last move,
Options - configure these options:
Timed game - should we count the seconds?
Keep score - should we count the score?
Show number of cards in deck - should we show it?
Draw one - card from the deck,
Draw three - cards from the deck.
About - shows information about the author.
Exit - quits the game.
AUTHOR
xsol was written by Brian Masney <masneyb@newwave.net>, and this manual page was written by Josip Rodin <jrodin@jagor.srce.hr>.
Debian Project March 1999 XSOL(6)