Sponsored Content
Full Discussion: Move Script
Top Forums UNIX for Dummies Questions & Answers Move Script Post 302321914 by treds on Tuesday 2nd of June 2009 11:03:09 AM
Old 06-02-2009
is there a command you can add to the script that checks if the file has finished growing in size?
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with Copy Move Script

Hello Gurus! Please help! I would like to get some help with the following: I'm working right now on a Data Warehouse project and I need to automate a manual procedure I am using to process the data files coming into the database, any information/ideas and or which script language to go... (4 Replies)
Discussion started by: alfpathros
4 Replies

2. Shell Programming and Scripting

script to move logs

Does anyone have a good script to move log files from a cron? There are a lot of logs, about 100 or more and they are constantly being written too. (7 Replies)
Discussion started by: photon
7 Replies

3. Shell Programming and Scripting

script to move

Hi, Want to write a script which move like: these are files in different dir structure, /home/darshak/test/sh/new.txt /home/darshak/test/new1.txt /home/darshak/test/pl/file.txt script will move same structure as above but in different dir, /usr/local/test/sh/new.txt... (2 Replies)
Discussion started by: darshakraut
2 Replies

4. UNIX for Dummies Questions & Answers

Move command within script

Anyone have an idea to why the statement below does not work within a script but works when issued from the command line? mv /dir_files/submit.log* /bintemp (1 Reply)
Discussion started by: bwcberb
1 Replies

5. UNIX Desktop Questions & Answers

Help with Script to Move Directories

Hi I am after a simple script to move folders/files from one directory into another directory on the same server. I want to run a cron so this can run at midnight. Issue is there will not always be data in the source folder. This script works fine but it errors if nothing exists in the source... (3 Replies)
Discussion started by: treds
3 Replies

6. 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

7. Shell Programming and Scripting

move script

hi guys i have a simple question i have a directory with name of files in /tmp which contain some files i want to check all files with file command and if they were MP3 or Wave sync them into new place . for example ( /root/mp3 ) i find all files and remove white space and rename them... (1 Reply)
Discussion started by: mhs
1 Replies

8. Shell Programming and Scripting

Script to move certain no. of files every second

Hi All, I am new to Linux/Scripting and need some assistance in coming up with a script that can move certain amount of files from one directory to other every seconds. Usercase: We have around 100k files in tmp directory on my server which needs to be moved to another folder to get... (3 Replies)
Discussion started by: Raj1184
3 Replies
gfs2_jadd(8)						      System Manager's Manual						      gfs2_jadd(8)

NAME
gfs2_jadd - Add journals to a GFS2 filesystem SYNOPSIS
gfs2_jadd [OPTION]... <DEVICE|MOINTPOINT>... DESCRIPTION
gfs2_jadd is used to add journals (and a few other per-node files) to a GFS2 filesystem. When this operation is complete, the journal index is updated so that machines mounting the filesystem at a later date will see the newly created journals in addition to the journals already there. Machines which are already running in the cluster are unaffected. You may only run gfs2_jadd on a mounted filesystem, addition of journals to unmounted filesystems is not supported. You only need to run gfs2_jadd on one node in the cluster. All the other nodes will see the expansion has occurred when required. You must be superuser to execute gfs2_jadd. The gfs2_jadd tool tries to prevent you from corrupting your filesystem by checking as many of the likely problems as it can. When growing a filesystem, only the last step of updating the journal index affects the currently mounted filesystem and so failure part way through the expansion process should leave your filesystem in its original state. OPTIONS
-c MegaBytes Initial size of each journal's quota change file -D Print out debugging information about the filesystem layout. -h Prints out a short usage message and exits. -J size The size of the new journals in megabytes. The defaults to 32MB (the minimum size allowed is 8MB). If you want to add journals of different sizes to the filesystem, you'll need to run gfs2_jadd once for each different size of journal. -j num The number of new journals to add. -q Be quiet. Don't print anything. -u MegaBytes Initial size of each journal's unlinked tag file -V Version. Print version information, then exit. SEE ALSO
mkfs.gfs2(8) gfs2_grow(8) gfs2_jadd(8)
All times are GMT -4. The time now is 02:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy