Shell script cannot create directory and move the file to that directory
I have a script, which is checking if file exists and move it to another directory
Strange, but the directory is not created
Could you please let me know what is wrong with my script?
Thanks for contribution
Last edited by digioleg54; 04-11-2017 at 01:13 PM..
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT SUNOS
evolution-addressbook-export
evolution-addressbook-export(1) User Commands evolution-addressbook-export(1)NAME
evolution-addressbook-export - export local address book from Ximian Evolution, Sun Microsystems Edition
SYNOPSIS
evolution-addressbook-export [--async] [--format=[vcard|csv]] [--help] [--list-addressbook-folders] [--output=output-file] [--size=number]
[--usage] [--version]
DESCRIPTION
Export the local address book to a file.
OPTIONS
The following options are supported:
--async Export in asynchronous mode. You can also use -a to specify this option.
--format=[vcard|csv] Specify the export format: virtual card (vcard) or comma-separated value (csv).
--help Display help text. You can also use -? to specify this option.
--list-addressbook-foldeList the local address-book folders. You can also use -l to specify this option.
--output=output-file Specify the name of the output file to store the exported information. If no output file is specified, the exported
information is sent to standard output.
--size=number Specify the number of cards in one output file in asychronous mode. The default value is 100.
--usage Display brief usage text.
--version Display version information.
EXAMPLES
Example 1: Exporting Local Address Book in Asynchronous Mode and Vcard Format to contacts.vcf
example% evolution-addressbook-export -a --format=vcard --output=contacts.vcf
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
1 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/evolution-addressbook-export
Executable to export Evolution local address book
$HOME/evolution
Per-user configuration files and local storage for Evolution
$HOME/evolution/mail/account/folders
Temporary files for Evolution mail
$HOME/evolution/sunone/account/folders
Temporary files for Evolution Sun ONE account
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC |
+-----------------------------+-----------------------------+
|Availability |SUNWevo |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
|Interface stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT safe with Exceptions |
+-----------------------------+-----------------------------+
SEE ALSO
Ximian Evolution Sun Microsystems Edition User Guide
evolution(1), evolution-address-import(1)NOTES
Written by Steven Zhang, Sun Microsystems Inc., 2004.
SunOS 5.10 15 Apr 2004 evolution-addressbook-export(1)