10-07-2016
Yes i have cygwin installed on the pc
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hola a todos, soy realmente nuevo programando en bash, y aśn estoy encontrando bastantes baches :o, mi pregunta es simple, supongo, alguien podria decirme si existe una manera facil de copiar un directorio de un server a otro?, sucede que en un server(server1) tengo los backup de las bases de... (7 Replies)
Discussion started by: yeestrada
7 Replies
2. Shell Programming and Scripting
I wan to pick the latest modified file name and redirect it to a file ..
ls -tr | tail -1 >file
but this is printing file ins side the filename ,
can anyone help me out (5 Replies)
Discussion started by: vishwakar
5 Replies
3. Shell Programming and Scripting
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies
4. Shell Programming and Scripting
Hi,
I wanted to copy monthly generated csv file(s)( of latest date) at one server to my current server.
So I wrote the following script, but does not work.
The script is invoked on my current server
Can you please help?
!/bin/ksh
#. /apps/comp/
cd /apps/di/dev/import/paper
ssh hpqad02... (3 Replies)
Discussion started by: Alok Ranjan
3 Replies
5. Shell Programming and Scripting
is there any way to copy files from linux to windoes with out mounting ideally using a script in linux or windows which ever possible (4 Replies)
Discussion started by: robo
4 Replies
6. Shell Programming and Scripting
Hi,We have an interface which extracts data from database tables, spool the records into text files, and copy those files using SFTP to a windows server location. The target system loads these files into its database using some DTS packages in SQL Server.
This interface of exporting text files... (13 Replies)
Discussion started by: urjagadeesh
13 Replies
7. Shell Programming and Scripting
Hi,
I want to display latest files (created or modified) recursively in a path.
I tried in different ways, but didn't get any desired output:
find $path -type f -exec ls -lt {} \; | sort -n -r
find $path -type f -printf %p";" | xargs -d ";" ls -t
Second one is giving the error:... (21 Replies)
Discussion started by: karumudi7
21 Replies
8. Shell Programming and Scripting
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
10. UNIX for Dummies Questions & Answers
Hi all, I am a bit of a beginner with shell scripting..
What I want to do is merge two drives, for example moving all data from X to Y.
If a file in X doesn't exist in Y, it will be moved there.
If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies
LEARN ABOUT HPUX
xuninstallcolormap
XUninstallColormap() XUninstallColormap()
Name
XUninstallColormap - uninstall a colormap; install default if not already installed.
Synopsis
XUninstallColormap(display, colormap)
Display *display;
Colormap colormap;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
colormap Specifies the colormap to be uninstalled.
Description
If colormap is an installed map for its screen, it is uninstalled. If the screen's default colormap is not installed, it is installed.
If colormap is an installed map, a ColormapNotify event is generated on every window having this colormap as an attribute. If a colormap
is installed as a result of the uninstall, a ColormapNotify event is generated on every window having that colormap as an attribute.
At any time, there is a subset of the installed colormaps, viewed as an ordered list, called the required list. The length of the required
list is at most the min_maps specified for each screen in the Display structure. When a colormap is installed with XInstallColormap() it
is added to the head of the required list and the last colormap in the list is removed if necessary to keep the length of the list at
min_maps. When a colormap is uninstalled with XUninstallColormap() and it is in the required list, it is removed from the list. No other
actions by the server or the client change the required list. It is important to realize that on all but high-performance workstations,
min_maps is likely to be one.
For more information on installing and uninstalling colormaps, see Volume One, Chapter 7, Color.
Errors
BadColor Invalid colormap.
See Also
XDefaultColormap(), XDisplayCells(), XCopyColormapAndFree(), XCreateColormap(), XFreeColormap(), XGetStandardColormap(), XInstallCol-
ormap(), XListInstalledColormaps(), XSetStandardColormap(), XSetWindowColormap().
Xlib - Colormaps XUninstallColormap()