find does not return a non-zero when it finds no files, only when there is an error like EPERM or the directory does not exist. That's what POSIX says. You should use text output from the command to trigger the script.
Hi All
I have a requirement like, where a file gets generated in a particular dir and once the file is ready and available then I want to execute rest of the script, because untill and unless the file exists and is available there is no use of running rest of the commands in that script.
... (5 Replies)
Hello All,
I am trying to write a script that will only continue executing my script if a file exits. I know the directory of the file, so its just a matter of seeing if the file exists yet. If the file has not yet been created, I want the script to wait 10 minutes (600 seconds) and try again.... (7 Replies)
Hello,
I'm trying to do specific actions based on whether a string is contained within a file or not. More specifically, I'm using the $LOGIN variable to compare to a user_list plain text file to determine what auto login process to execute for the specific user.
I've seen several posts using... (0 Replies)
Hi all,
I am beginner in UNIX...I want to use unix shell script to create text.file...I know how to use using by command...can anybody tell me for the script?
Thanks
i changed the threads title from "tex file" to "text file", because "tex" would probably be misunderstood as reference to... (4 Replies)
I have a pattern for filename to be searched.
I need to get the files from remote server Who are matching the file pattern.
And i need to exit with non zero return code for:
1)No files found matching that pattern
2)More than one files matching the name pattern.
If only one files is... (1 Reply)
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
I'm facing issues in executing the bash script of mine. This script will pick the latest file received and connects SFTP server and files is placed on this remote server.
Error message
Enter password:
"File movement"
sftp> cd Test
sftp> put Test_File_201309.txt
File "Test_File_201309.txt"... (6 Replies)
Hi All,
I have one shell script start.sh which executes another shell script test.sh something like below :test.sh -param1 -param2
In the test.sh there is one command for removing file:rm file1.bak
I want whenever I execute start.sh, it will execute test.sh and if it finds string rm... (7 Replies)
Discussion started by: ORAI
7 Replies
LEARN ABOUT DEBIAN
gsf-vba-dump
GSF(1) GNOME GSF(1)NAME
gsf-vba-dump - extract Visual Basic for Applications macros
SYNOPSIS
gsf-vba-dump [FILE]...
DESCRIPTION
This manual page briefly documents the gsf-vba-dump command.
Various Microsoft binary data formats, including Excel (.xls), Word (.doc) and PowerPoint (.ppt) can embed macro code streams. These macro
streams are in P-code (intermediate language) compiled from Visual Basic for Applications (VBA).
The gsf-vba-dump utility extracts these macro streams.
BUGS
Macro extraction from Powerpoint (.ppt) files has not been implemented yet.
LICENSE
gsf-vba-dump is licensed under the terms of version 2.1 of the GNU Lesser General Public License (LGPL) as published by the Free Software
Foundation. For information on this license look at the source code that came with the software or see the GNU project page <http://
www.gnu.org>.
AUTHORS
gsf-vba-dump's primary author is Jody Goldberg <jody@gnome.org>.
The initial version of this manpage was written by J.H.M. Dassen (Ray) <jdassen@debian.org>.
SEE ALSO gnumeric(1)
The Gnumeric homepage <http://www.gnome.org/projects/gnumeric/>.
The GNOME project page <http://www.gnome.org/>.
Wikipedia, Visual Basic for Applications <http://en.wikipedia.org/wiki/Visual_Basic_for_Applications>.
gsf March 16, 2008 GSF(1)