Sponsored Content
Top Forums Shell Programming and Scripting Shell script cannot create directory and move the file to that directory Post 302995727 by rbatte1 on Tuesday 11th of April 2017 11:59:18 AM
Old 04-11-2017
Hello digioleg54,

I have a few to questions pose in response first:-
  • What have you tried so far to diagnose this?
  • Where is variable LOCL_FILES_DIR set?
  • Where is variable Today set?
  • What output/errors do you get?
  • What OS and version are you using?
Most importantly, What have you tried so far?

There also seems to be a split line, so you have an echo that will look rather ugly.


We're all here to learn and getting the relevant information will help us all.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Move a file from windows directory to unix directory

Move a file from windows directory to unix directory, is this possible? if it is, can someone help me on this? Thanks! God bless! (1 Reply)
Discussion started by: kingpeejay
1 Replies

2. Shell Programming and Scripting

A script that will move a file to a directory with the same name and then rename that file

Hello all. I am new to this forum (and somewhat new to UNIX / LINUX - I started using ubuntu 1 year ago).:b: I have the following problem that I have not been able to figure out how to take care of and I was wondering if anyone could help me out.:confused: I have all of my music stored in... (7 Replies)
Discussion started by: marcozd
7 Replies

3. Shell Programming and Scripting

Move the latest or older File from one directory to another Directory

I Need help for one requirement, I want to move the latest/Older file in the folder to another file. File have the datetimestamp in postfix. Example: Source Directory : \a destination Directory : \a\b File1 : xy_MMDDYYYYHHMM.txt (xy_032120101456.txt) File2: xy_MMDDYYYYHHMM.txt... (1 Reply)
Discussion started by: pp_ayyanar
1 Replies

4. Shell Programming and Scripting

How we can create the master file through shell to show the tree structure of the directory?

Can we create the master file that show the whole tree structure of the directory till a particular folder? Database that contains four sub repository Sybase,sql,oracle,mysql and sql and oracle contains two subrepostories Siebel and plsql and each repositories contains three folders... (1 Reply)
Discussion started by: rohit22hamirpur
1 Replies

5. Shell Programming and Scripting

Script to move latest zip file to another directory

Hi folks, In my application there is a job running which create a .dat file along with it zip file also at unix box location /opt/app/cvf/temp1 so in temp1 directory I have one .dat file and its zip file also. Now since this job runs every day so if a job runs today there will be two files... (5 Replies)
Discussion started by: punpun66
5 Replies

6. Shell Programming and Scripting

Shell scripting-I need a script which should watch a directory for a file with specific directory

I need a script which should watch a directory for a file with specific directory. If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column. The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies

7. Shell Programming and Scripting

Move file in to directory- script

Hi In directory /mnt/upload I have about 100 000 files (*.png) that have been created during the last six months. Now I need to move them to right folders. eg: file created on 2014-10-10 move to directory /mnt/upload/20141010 file created on 2014-11-11 move to directory /mnt/upload/20141111... (6 Replies)
Discussion started by: primo102
6 Replies

8. Shell Programming and Scripting

List files with date, create directory, move to the created directory

Hi all, i have a folder, with tons of files containing as following, on /my/folder/jobs/ some_name_2016-01-17-22-38-58_some name_0_0.zip.done some_name_2016-01-17-22-40-30_some name_0_0.zip.done some_name_2016-01-17-22-48-50_some name_0_0.zip.done and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies

9. Shell Programming and Scripting

How Create new directory and move files to that directory.?

Hi All, We have main directory called "head" under this we have several sub directories and under these directories we have sub directories. My requirement is I have to find the SQL files which are having the string "procedure" under "head" directory and sub directories as well. And create... (14 Replies)
Discussion started by: ROCK_PLSQL
14 Replies
Parity(3)						User Contributed Perl Documentation						 Parity(3)

NAME
String::Parity, setEvenParity, setOddParity, setSpaceParity, setMarkParity, isEvenParity, isOddParity isSpaceParity, isMarkParity, Even- Bytes, OddBytes, SpaceBytes, MarkBytes, showParity, showMarkSpace - Parity (odd/even/mark/space) handling functions SYNOPSIS
use String::Parity; use String::Parity qw(:DEFAULT /show/); DESCRIPTION
setEvenParity LIST Copies the elements of LIST to a new list and converts the new elements to strings of bytes with even parity. In array context returns the new list. In scalar context joins the elements of the new list into a single string and returns the string. setOddParity LIST Like setEvenParity function, but converts to strings with odd parity. setSpaceParity LIST Like setEvenParity function, but converts to strings with space (High bit cleared) parity. setMarkParity LIST Like setEvenParity function, but converts to strings with mark (High bit set) parity. EvenBytes LIST Returns the number of even parity bytes in the elements of LIST. OddBytes LIST Returns the number of odd parity bytes in the elements of LIST. SpaceBytes LIST Returns the number of space parity bytes in the elements of LIST. MarkBytes LIST Returns the number of mark parity bytes in the elements of LIST. isEvenParity LIST Returns TRUE if the LIST contains no byte with odd parity, FALSE otherwise. isOddParity LIST Returns TRUE if the LIST contains no byte with even parity, FALSE otherwise. isSpaceParity LIST Returns TRUE if the LIST contains no byte with mark parity, FALSE otherwise. isMarkParity LIST Returns TRUE if the LIST contains no byte with space parity, FALSE otherwise. showParity LIST Like setEvenParity function, but converts bytes with even parity to 'e' and other bytes to 'o'. The function showParity must be imported by a specialised import list. showMarkSpace LIST Like setEvenParity function, but converts bytes with space parity to 's' and other bytes to 'm'. The function showMarkSpace must be imported by a specialised import list. NOTES
Don't use this module unless you have to communicate with some old device or protocol. Please make your application 8 bit clean and use the internationally standardised ISO-8859-1 character set. AUTHOR
Winfried Koenig <win@in.rhein-main.de> SEE ALSO
perl(1), Exporter(1) perl v5.8.0 1996-12-10 Parity(3)
All times are GMT -4. The time now is 01:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy