9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am new to Linux/Scripting and need some assistance in coming up with a script that can move certain amount of files from one directory to other every seconds.
Usercase: We have around 100k files in tmp directory on my server which needs to be moved to another folder to get... (3 Replies)
Discussion started by: Raj1184
3 Replies
2. Shell Programming and Scripting
Hello everyone!
i hope u can help me...
i need a script that is able to do:
When a user gets deleted in the ldap DB, the mail folder remains.
How can i move to another location and delete it after a month?
:wall: (2 Replies)
Discussion started by: newbreaker12
2 Replies
3. Shell Programming and Scripting
hi guys i have a simple question
i have a directory with name of files in /tmp which contain some files
i want to check all files with file command and if they were MP3 or Wave sync them into new place . for example ( /root/mp3 )
i find all files and remove white space and rename them... (1 Reply)
Discussion started by: mhs
1 Replies
4. UNIX Desktop Questions & Answers
Hi
I am after a simple script to move folders/files from one directory into another directory on the same server. I want to run a cron so this can run at midnight.
Issue is there will not always be data in the source folder.
This script works fine but it errors if nothing exists in the source... (3 Replies)
Discussion started by: treds
3 Replies
5. UNIX for Dummies Questions & Answers
Anyone have an idea to why the statement below does not work within a script but works when issued from the command line?
mv /dir_files/submit.log* /bintemp (1 Reply)
Discussion started by: bwcberb
1 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am very new to scripts and only have a basic knowledge
What i am trying to do is move files from one directory to another, but i need to make sure the file is stable before it moves the file to the destination. Here is the script that i am using that is moving the files, it part of a script... (8 Replies)
Discussion started by: treds
8 Replies
7. Shell Programming and Scripting
Hi,
Want to write a script which move like:
these are files in different dir structure,
/home/darshak/test/sh/new.txt
/home/darshak/test/new1.txt
/home/darshak/test/pl/file.txt
script will move same structure as above but in different dir,
/usr/local/test/sh/new.txt... (2 Replies)
Discussion started by: darshakraut
2 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I am trying to call rsync from a perl script. I do not want to get promted for each file transfer.
Is there is any way i can avoid prompting for password?
I tried to store it in file and use rsync --password-file option.
Command : $rsync --password-file=pass.txt -crgpto -e /usr/bin/ssh2 -v... (1 Reply)
Discussion started by: mandira
1 Replies
9. Shell Programming and Scripting
Hello Gurus!
Please help!
I would like to get some help with the following:
I'm working right now on a Data Warehouse project and I need to automate a manual procedure I am using to process the data files coming into the database, any information/ideas and or which script language to go... (4 Replies)
Discussion started by: alfpathros
4 Replies