Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Renaming file in Recursive folders Post 302273618 by Ikon on Monday 5th of January 2009 10:34:39 AM
Old 01-05-2009
That will change what is displayed to the screen, but doesnt actually rename any actual files.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Renaming folders

Hello, I'm new to unix and I have to rename all folder fron the current folder from a name like "xx - Name of the Folder" to "Name of the Folder - xx". xx is a number ... Can somebody, please, help? Thank you! (6 Replies)
Discussion started by: mirciulicai
6 Replies

2. Filesystems, Disks and Memory

Recursive file processing

I'm developing a generic script to catenate all files found in a given directory. The problem I've got is that the depth of the given directory is unknown, so I end up with some catenated directories. My unix isn't that hot and I'm at a loss. Heres an extract from the script cd $1 for i in... (4 Replies)
Discussion started by: k_mufasa
4 Replies

3. Shell Programming and Scripting

Recursive Replication of Unix folders to Windows

Requirements: ftp files recursively from unix to windows. Replicate directory paths on unix (source) to windows (destination) and place files in their respective folders. There are no set number of files per directory nor fix number of dirA or dirB etc.... Source OS: Solaris... (5 Replies)
Discussion started by: mlv_99
5 Replies

4. Shell Programming and Scripting

recursive saving of files and folders

Hi all I have a bash script, that loops through a folders files and all subfolders for .shtml files. It looks for a string and replaces it, creating a backup of the original file. This all works great, but I'd like, when the backup is done, that the files are then also created in their... (4 Replies)
Discussion started by: terrid
4 Replies

5. Shell Programming and Scripting

Renaming folders all at a time

I have a set of folders like Jan1st, Jan2nd, Jan3rd... and so on. I need to rename them to Jan1st2010,Jan2nd2010 .... and so on at one shot. (4 Replies)
Discussion started by: realspirituals
4 Replies

6. Shell Programming and Scripting

Recursive file processing from a path and printing output in a file

Hi All, The script below read the path and searches for the directories/subdirectories and for the files. If files are found in the sub directories then read the content of the all files and put the content in csv(comma delimted) format and the call the write to xml function to write the std... (1 Reply)
Discussion started by: Optimus81
1 Replies

7. Shell Programming and Scripting

Recursive File Renaming & Natural Sorting (Bash)

NB! I have already started a thread on this subject on ComputerHope (with the thread title "Recursive File Renaming & Logical Sorting"). However, on ComputerHope they are perhaps more specialized in Windows Command Prompt, and not that much in shell scripts for Bash (I guess). I have a bulk... (1 Reply)
Discussion started by: JewzeyfGhewbelz
1 Replies

8. HP-UX

Recursive copy of Folders with files

Dear All, I will appreciate any help received. Our system is running on hpux v1 My problem is as follows: We have many customer folders with name fd000100, fd000101 and so on e.g. (Testrun)(testsqa):/>ll /TESTrun/fd000100 total 48 drwxrwx--- 2 fq000100 test 96 Jun 27 2004... (17 Replies)
Discussion started by: mhbd
17 Replies

9. Shell Programming and Scripting

Recursive delete in a file using a set of values in other file

Hi, I have got a file with 6K records and I want to delete 500 records from this file which match the values present in another file. Format of the both the files is different. Example : File 1 record CCCCCC 11292562ABCDEF MBR/PSF6/108100502/BEN01XXX XXX Example : File 2 record... (1 Reply)
Discussion started by: Nikhath
1 Replies
XSetScreenSaver()														 XSetScreenSaver()

Name
  XSetScreenSaver - set the parameters of the screen saver.

Synopsis
  XSetScreenSaver(display, timeout, interval, prefer_blanking,
	    allow_exposures)
	Display *display;
	int timeout, interval;
	int prefer_blanking;
	int allow_exposures;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  timeout   Specifies the time of inactivity, in seconds, before the screen saver turns on.

  interval  Specifies  the  interval,  in  seconds,  between  screen saver invocations.  This is for intermittent changes to the display, not
	    blanking.

  prefer_blanking
	    Specifies whether to enable screen blanking.  Possible values are DontPreferBlanking, PreferBlanking, or DefaultBlanking.

  allow_exposures
	    Specifies the current screen saver control values.	Possible values are DontAllowExposures, AllowExposures, or DefaultExposures.

Description
  XSetScreenSaver() sets the parameters that control the screen saver.	timeout and interval are specified in seconds.	 A  positive  timeout
  enables  the	screen	saver.	 A timeout of zero (0) disables the screen saver, while a timeout of -1 restores the default.  An interval of
  zero (0) disables the random pattern motion.	If no input from devices (keyboard, mouse, etc.) is generated for  the	specified  number  of
  timeout seconds, the screen saver is activated.

  For  each screen, if blanking is preferred and the hardware supports video blanking, the screen will simply go blank.  Otherwise, if either
  exposures are allowed or the screen can be regenerated without sending exposure events to clients, the screen is tiled with the root window
  background  tile,  with a random origin, each interval seconds.  Otherwise, the state of the screen does not change.	All screen states are
  restored at the next input from a device.

  If the server-dependent screen saver method supports periodic change, interval serves as a hint about how long the change period should be,
  and  a  value of zero (0) hints that no periodic change should be made.  Examples of ways to change the screen include scrambling the color
  map periodically, moving an icon image about the screen periodically, or tiling the screen with the root window background  tile,  randomly
  reoriginated periodically.

  For more information on the screen saver, see Volume One, Chapter 15, Other Programming Techniques.

Errors
  BadValue  timeout < -1.

See Also
  XActivateScreenSaver(), XForceScreenSaver(), XGetScreenSaver(), XResetScreenSaver().

Xlib - Screen Saver														 XSetScreenSaver()
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy