07-07-2013
Post some examples of what your referring to.
Since you mention 'windows' are you using "cgywin"?
Are you trying to copy these folder(s)/file(s) from a *nix box to a windows box?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Discussion started by: yahoo!
1 Replies
2. Shell Programming and Scripting
the script on excution should take a directory path from useran a numric input and it should check indicate whether its write or not?
if the cmmd sh<script-name>,dir/path.<500>" is greater than 500 in size should be copied to dir ,temp in pwd and display the mesage'files of 2000 bytes hav been... (4 Replies)
Discussion started by: arukr
4 Replies
3. Shell Programming and Scripting
How do I define a particular dir in front of PATH variable and then run some job and then at the end of job SET the PATH variable to original?
in a script, WILL something like this work:
ORIG_PATH=$PATH
export PATH=/dir1/dir2:$PATH
RUN SOME JOBS .....
unset PATH
EXPORT... (2 Replies)
Discussion started by: Hangman2
2 Replies
4. Shell Programming and Scripting
i have several thousand files and in subdirs that are named
file.46634.txt
budget.75346.pdf
etc
i want to remove the number but retain the extension.
it is always a 5 digit.
thanks. (6 Replies)
Discussion started by: jason7
6 Replies
5. Shell Programming and Scripting
Hi All,
I have txt file which has list of files. I have to check whether these files exist or not.
Thanks
supriya (6 Replies)
Discussion started by: supriyabv
6 Replies
6. UNIX for Dummies Questions & Answers
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies
7. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies
8. Shell Programming and Scripting
Please help, I want script to check filename, size and date in specify path.
I want output as:
DATE: YYYYMMDD HH:MM
------------------------------------------------
fileA,filesize,yyyy mm dd HH:MM
fileA,filesize,yyyy mm dd HH:MM
fileA,filesize,yyyy mm dd HH:MM
fileA,filesize,yyyy mm dd... (1 Reply)
Discussion started by: akeji
1 Replies
9. Shell Programming and Scripting
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
10. UNIX and Linux Applications
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
LEARN ABOUT OPENDARWIN
dmxchangedesktopattributes
DMXChangeDesktopAttributes(3) Library Functions Manual DMXChangeDesktopAttributes(3)
NAME
DMXChangeDesktopAttributes - change global bounding box
SYNOPSIS
#include <X11/extensions/dmxext.h>
int DMXChangeDesktopAttributes(Display *dpy,
unsigned int mask,
DMXDesktopAttributes *attr);
DESCRIPTION
DMXChangeDesktopAttributes() resizes the bounding box of the whole screen when using the Xinerama extension. Otherwise, it has no effect
on the screen layout. An attribute mask is placed in mask and the attributes to change are placed in attr.
The values that are used to compute mask are as follows:
DMXDesktopWidth
DMXDesktopHeight
DMXDesktopShiftX
DMXDesktopShiftY
The DMXDesktopAttributes structure is:
typedef struct {
unsigned int width;
unsigned int height;
int shiftX;
int shiftY;
} DMXDesktopAttributes;
width and height specify the new width and height for the bounding box. shiftX and shiftY specify where the Xinerama origin will be
placed with respect to the origin of the new bounding box. This allows the left and upper edges of the bounding box to be changed without
changing the visual position of the windows on the desktop. If width or height is not specified, the current values will be used. If
shiftX or shiftY is not specified, 0 will be used.
All coordinates are in the global DMX coordinate system. If Xinerama is not active, an error will be generated.
RETURN VALUE
DMXChangeDesktopAttributes() will return 0 on success, DmxBadXinerama if Xinerama is not active, DmxBadValue if the size of the bounding
box is too large, and DmxBadReply if there was a protocol error.
DMXChangeDesktopAttributes() can generate BadLength (if the request is malformed, which should never happen when using this library inter-
face), and BadValue (if any values are out of range).
SEE ALSO
DMXGetDesktopAttributes(3), DMX(3), Xdmx(1)
X Version 11 libdmx 1.1.2 DMXChangeDesktopAttributes(3)