Sponsored Content
Full Discussion: Renaming the File in UNIX
Top Forums UNIX for Dummies Questions & Answers Renaming the File in UNIX Post 302226529 by prashant43 on Tuesday 19th of August 2008 07:16:25 AM
Old 08-19-2008
Quote:
Originally Posted by vidyadhar85
dear prashant,
this code will move the original file but he want to rename it not to move i guess...
Dear vidydhar,

thanks for reminding....

If he want to keep original file, he can use
cp sample.F1.Test sample.csv

Regards
Prashant
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Utility or script for renaming files on UNIX web server

Greetings! Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities for Windows, but none for UNIX. I have 10,000 files that I need to rename in a several tier (deep) web site directory. I have the original... (1 Reply)
Discussion started by: everettr
1 Replies

2. Shell Programming and Scripting

Utility or script for renaming files on UNIX web server

Greetings! Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities for Windows, but none for UNIX. I have 10,000 files that I need to rename in a several tier (deep) web site directory. I have the original... (2 Replies)
Discussion started by: everettr
2 Replies

3. Shell Programming and Scripting

Renaming a file use another file as a sequence calling a shl

have this shl that will FTP a file from the a directory in windows to UNIX, It get the name of the file stored in this variable $UpLoadFileName then put in the local directory LocalDir="${MPATH}/xxxxx/dat_files" that part seems to be working, but then I need to take that file and rename, I am using... (3 Replies)
Discussion started by: rechever
3 Replies

4. Shell Programming and Scripting

File renaming from list of names contained in another file

I have to rename a large number of files so that the name of each file corresponds to a code number that is given side by side in a list (textfile). The list contains in column A the filename of the actual files to be renamed and in column B the name (a client code, 9 digits) that has to be... (7 Replies)
Discussion started by: netfreighter
7 Replies

5. UNIX for Dummies Questions & Answers

Renaming a file (non unix person)

I am trying to move a file to a new file with a datestamp in the filename on a unix server using a script I am trying to write. I have searched this forum and have tried 100 different variations but cannot solve my problem. My requirement is: Rename archiveSF\sfglsoarian.txt to... (3 Replies)
Discussion started by: cavleader
3 Replies

6. OS X (Apple)

Renaming serial ports in unix

Hello everyone, this is my first post and I am by no means a unix expert, so I hope I explain my issue well. I'm on a mac (mac mini), 10.7. My question is about serial port names. I have an arduino microcontroller plugged in via usb, and every time the computer is shut down it gives the... (0 Replies)
Discussion started by: superliminal
0 Replies

7. Shell Programming and Scripting

Remote renaming of a unix file via ftp

Hi all, i'm just after some help regarding a batch script. I'm wanting to create a windows batch script which will push a file from my pc to a unix (AIX) system via ftp. i have this part working fine but as the file i'm sending already exists i want the script to also take a sideways copy of... (6 Replies)
Discussion started by: forefather1977
6 Replies

8. UNIX for Dummies Questions & Answers

[Solved] Renaming Multiple Files in Unix

I have mulitiple files in a unix directory e.g. FILE10001.txt FILE10002.txt I want the above two files to get renamed as by a single command. I tried with mv but it does not work FILE20001.txt FILE20002.txt Paresh (6 Replies)
Discussion started by: Pash
6 Replies

9. Shell Programming and Scripting

Renaming file and check for the renamed file existence

Hi Am trying to move a file from one name to another When I do "ls" to check for the moved filename I can see the file but when I try the same with a script am unable.. I think am doing some pretty silly error.. please help.. toMove=`ls | grep -E "partition.+"` mv $toMove partition._org... (7 Replies)
Discussion started by: Priya Amaresh
7 Replies

10. Shell Programming and Scripting

UNIX :renaming the files present in the directory

Hi all, I am looking for a script which renames all the files from the present directory. Eg.: In unix directory contains the below files linux001.txt linux002.txt linux003.txt ...... ....... Now the files should be renamed to unix001.txt unix002.txt unix003.txt Could anyone... (8 Replies)
Discussion started by: scriptscript
8 Replies
pactl(1)						      General Commands Manual							  pactl(1)

NAME
pactl - Control a running PulseAudio sound server SYNOPSIS
pactl [options] stat pactl [options] list pactl [options] exit pactl [options] upload-sample FILENAME [NAME] pactl [options] play-sample NAME [SINK] pactl [options] remove-sample NAME pactl [options] move-sink-input ID SINK pactl [options] move-source-input ID SOURCE pactl [options] load-module NAME [ARGUMENTS ...] pactl [options] unload-module ID pactl [options] suspend-sink [SINK] 1|0 pactl [options] suspend-source [SOURCE] 1|0 pactl --help pactl --version DESCRIPTION
pactl can be used to issue control commands to the PulseAudio sound server. pactl only exposes a subset of the available operations. For the full set use the pacmd(1). OPTIONS
-h | --help Show help. --version Show version information. -s | --server=SERVER Choose the server to connect to. -n | --client-name=NAME Specify the client name pactl shall pass to the server when connecting. stat Dump a few statistics about the PulseAudio daemon. list Dump all currently loaded modules, available sinks, sources, streams and clients. exit Asks the PulseAudio server to terminate. upload-sample FILENAME [NAME] Upload a sound from the specified audio file into the sample cache. The file types supported are those understood by libsndfile. The sample in the cache is named after the audio file, unless the name is explicitly specified. play-sample NAME [SINK] Play the specified sample from the sample cache. It is played on the default sink, unless the symbolic name or the numerical index of the sink to play it on is specified. remove-sample NAME Remove the specified sample from the sample cache. move-sink-input ID SINK Move the specified playback stream (identified by its numerical index) to the specified sink (identified by its symbolic name or numerical index). move-source-output ID SOURCE Move the specified recording stream (identified by its numerical index) to the specified source (identified by its symbolic name or numerical index). load-module NAME [ARGUMENTS ...] Load the specified module with the specified arguments into the running sound server. Prints the numeric index of the module just loaded to STDOUT. You can use it to unload the module later. unload-module ID Unload the module instance identified by the specified numeric index. unload-module ID Unload the module instance identified by the specified numeric index. suspend-sink SINK 1|0 Suspend or resume the specified sink (which my be specified either by its symbolic name, or by its numeric index), depending whether 1 (suspend) or 0 (resume) is passed as last argument. Suspending a sink will pause all playback. Depending on the module implement- ing the sink this might have the effect that the underlying device is closed, making it available for other applications to use. The exact behaviour depends on the module. suspend-source SOURCE 1|0 Suspend or resume the specified source (which my be specified either by its symbolic name, or by its numeric index), depending whether 1 (suspend) or 0 (resume) is passed as last argument. Suspending a source will pause all capturing. Depending on the module implementing the source this might have the effect that the underlying device is closed, making it available for other applications to use. The exact behaviour depends on the module. AUTHORS
The PulseAudio Developers <mzchyfrnhqvb (at) 0pointer (dot) net>; PulseAudio is available from http://pulseaudio.org/ SEE ALSO
pulseaudio(1), pacmd(1) Manuals User pactl(1)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy