Sponsored Content
Top Forums Shell Programming and Scripting Script to move certain no. of files every second Post 303001447 by Raj1184 on Thursday 3rd of August 2017 04:11:19 PM
Old 08-03-2017
renaming wouldn't help in my case.

Thank you for your response
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to move trace files

Please debug this shell script for me.. Basically the idea is to run the script, based on the command to move some trace files to a separate directory and I am getting the error. Only the COMMAND that has rm {} works and I basically want to use it for the fourth one. Please try for the 2nd, 3rd and... (4 Replies)
Discussion started by: ST2000
4 Replies

2. UNIX for Dummies Questions & Answers

Script to move blank files

Anyone could give me an example of scrip to move blank files found into a dir? Thanks, Leandro Takeda (3 Replies)
Discussion started by: letakeda
3 Replies

3. Shell Programming and Scripting

Perl script to move files not in use

I need to write a script to move files only when they are not in use. I have a rudementry bash script for Linux but i need a perl script so it will work on Linux and hpux. Oracle writes files to a directory called /data and the files there are moved every 5 minutes to a new home. But i need to... (1 Reply)
Discussion started by: insania
1 Replies

4. Shell Programming and Scripting

Need script to move files based on name

Hi folks, I'm new here and appreciate greatly any help. I have a bunch of files that need be moved and renamed. Fortunately, they are all in sequence... Present filename and path: /.catalog1/t76038_842-01 Move to: /.catalog1/76038-01 So, we need to drop the... (8 Replies)
Discussion started by: axslinger
8 Replies

5. Shell Programming and Scripting

Need shell script to move files

Hi , I need a simple shell script to move the files from one directory to another directory after every 1 hour..!!! ?? (1 Reply)
Discussion started by: SARAL SAXENA
1 Replies

6. Shell Programming and Scripting

help with a script to gzip/move files

Hi Please can you help me in writing a script to find files on a specific directory, and of extension "tap" but only of the month of september, gzip and move them to another directory. Your help will be appreciated. (4 Replies)
Discussion started by: fretagi
4 Replies

7. Shell Programming and Scripting

Script move files by name

hi, I have a lot of files named xxxxx__AA.txt, xxxxx__BB.txt, xxxxx__CC.txt and I would like to move xxxxx__AA.txt in AA directory, xxxxx__BB.txt in BB etc. Could you help me do it in bash script? (5 Replies)
Discussion started by: corfuitl
5 Replies
renamefset(8)						      System Manager's Manual						     renamefset(8)

NAME
renamefset - Rename an existing AdvFS fileset SYNOPSIS
/usr/sbin/renamefset domain oldfileset newfileset OPERANDS
Specifies the name of an existing AdvFS file domain. Specifies the name of a fileset in the domain. Specifies the new name for the file- set. DESCRIPTION
The renamefset command assigns a new name to an existing fileset within an AdvFS file domain. Before renaming a fileset, unmount the file- set and its clone fileset, if there is one. After renaming a fileset, update the corresponding entries in the /etc/fstab file to reflect the name change. RESTRICTIONS
Because clone filesets are read-only, they cannot be renamed. You must be the root user to use this command. Each fileset within a domain must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space, and so forth) and the / # : * ? characters are invalid for fileset names. EXAMPLES
The following example changes the name of the credit_fs fileset in the accounts_dmn file domain to new_credit_fs: # renamefset accounts_dmn credit_fs new_credit_fs SEE ALSO
Commands: chfsets(8), mkfdmn(8), mkfset(8), rmfset(8), showfsets(8) File Formats: advfs(4) renamefset(8)
All times are GMT -4. The time now is 08:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy