Sponsored Content
Top Forums Shell Programming and Scripting Script for moving series of sub folders Post 302911397 by RudiC on Thursday 31st of July 2014 12:54:53 PM
Old 07-31-2014
Will this be exhaustive, i.e. will all files/folders be moved and none remain? Then just rename /.../.../archive to /.../.../newarchive.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

moving multiple folders/files in subversion using bash script

Hi, I'm new here an dlearning a lot from this forum. i didnt find any solution for this in the forum. I have already checked in folders in subversion named HTT01,... HTT21.. and have files in each folder like below: HTT01/HTT01_00000.hex HTT01/HTT01_00000_fb_result.hex... (2 Replies)
Discussion started by: ravishan21
2 Replies

2. Ubuntu

Moving folders with script

Hi All, I am new to Forums, as i am struggling for one script i am launched here. I need to move more than 60,000+ folders in 1,00,000 folders to another server. I have the list of folders which should be moved. can anybody help me in sharing with the script for the above requirement. ... (4 Replies)
Discussion started by: ghimakiran
4 Replies

3. Red Hat

Moving folders

I'm new at this, so bare with me. I'm looking to move some folders, but keep the tree intact. Example: I have hundreds of folders in one directory (parent directory). In each folder there is a one folder called "source" and about 10 files. I want to move all the "Source" directories... (4 Replies)
Discussion started by: gnpower
4 Replies

4. Shell Programming and Scripting

moving files from one folder to many folders

I have a more than 10 K files in a folder. They are accumulated in a period of more than an year (Say from 13th July 2010 to 4th June 2011). I need to perform housekeeping on this. The requirement is to create a folder like 13Jul2010,14July2010,......3June2011,4June2010 and then from the main... (2 Replies)
Discussion started by: realspirituals
2 Replies

5. UNIX for Dummies Questions & Answers

moving mail between IMAP folders

Hello all, I have a Cyrus IMAP server running on HP-UX. I have a requirement to run a script every night at midnight, which will take all the mail (read and unread mail) from one IMAP folder, and move it into a different IMAP folder. Both the source and destination IMAP folders belong to the... (1 Reply)
Discussion started by: lupin..the..3rd
1 Replies

6. Shell Programming and Scripting

Moving files to folders and rename

Hello! I am new to this. I have many files from b_ap00 to b_ap80, and I need to move them to folder 00 to 80 respectively, where b_ap00 is in folder 00, b_ap01 is in folder 01. On top of this, I need to rename the file once they are inside the folder to b_ot, and subsequently run it (ifort -o... (8 Replies)
Discussion started by: krustytherusty
8 Replies

7. Shell Programming and Scripting

Execute script in series of folders

I'm trying to get a script to iterate of an array in bash run a series of commands in those folders. #Folder names folders=(folder1 folder2 folder3) #Common path for folders fold_path="/Users/Rich/Projects/" # For each element array copy script to folder and execute for f in... (2 Replies)
Discussion started by: 3therk1ll
2 Replies

8. Shell Programming and Scripting

Moving files and folders to another folder

I recently bought Synology server and realised it can run scripts. I would need fairly simple script which moves all files and folders from ARCHIVE folder to WORKING folder. I would also need to maintain folder structure as each of the folders may contain subfolders. How would I go about it as I am... (1 Reply)
Discussion started by: ###
1 Replies

9. Shell Programming and Scripting

Moving decimal point in a series of numbers

Hi, i need to move the decimal point from a file listing some numbers like this : 49899.50 49914.55 49894.48 49939.65 49879.44 49919.57 49934.62 49944.67 49954.72 (1 Reply)
Discussion started by: Board27
1 Replies

10. Shell Programming and Scripting

Move multiple files 4rm Source to different target folders based on a series num in the file content

Dear Experts my scenario is as follows... I have one source folder "Source" and 2 target folders "Target_123456" & "Target_789101". I have 2 series of files. 123456 series and 789101 series. Each series has got 3 types of fiels "Debit", "Refund", "Claims". All files are getting... (17 Replies)
Discussion started by: phani333
17 Replies
ar86(1) 						      General Commands Manual							   ar86(1)

NAME
ar86 - Create, modify, and extract from archive file SYNOPSIS
ar86 operation archive [file...] ar86 positional-op member archive [file...] DESCRIPTION
The ar86 program is used to create, examine and modify archive files produced by the Dev86/ELKS toolchain. OPTIONS
The ar86 command requires that the operation to be performed on the archive be specified as the first option. If the operation is positional then the next option is the archive member marking the position. This is followed by the archive file name and any list of file names. Operations One of the following operations can be specified d delete the listed files from the archive. m move the named files. By default files are moved to the end of the archive unless a positional modifier is present. p print the contents of archive members to standard out. If a file list is included only those members are printed. If the v modifier is present each file's contents are preceeded by a new line, a line with the string member, a space character, the member name, and two following newlines. q quickly add the files to the end of the archive without checking to see if they already exist in the archive. This operation will ignore any positional modifiers. Creates the archive file if it does not exist. r replace archive members with the files listed. If the file name is not present in the archive it is added to the end of the archive (or to any explicitly specified position). Creates the archive file if it does not exist. t table; list the file names of archive members. If a file list is present only those files that are present in the archive are listed. The v modifier prints member attributes. x extract the named files from the archive into the current directory. If no files are specified all the archive members will be extracted. Modifiers The following modifiers may be used with the operations o original time stamps from the archive are preserved for extracted files when possible. s symbol update; this option may be used by itself to force an update to the symbol definition section of the archive (the __.SYMDEF member). If any files are specified they will be replaced as if the r operation had been specified. If no symbol definition section exists one is created. This option will also creates the archive file if it does not exist. u update files in the archive during a r (replace) operation. The files are added to the archive in exactly the same manner as replace except that an existing archive member will be retained (in its original position) if it has a modified more recently than the file being added. Note that this modifier acts as if a r operation has been specified (even it has not), and will actually override any other previously specified operation. v verbose; print additional diagnostic messages while processing the archive. Positional Modifiers The following modifiers specify where in the archive files are moved to or added. If any of these modifiers are specified then the second option to ar86 must be the name of an archive member. a after; files are placed after the specified archive member. b before; files are placed before the specified archive member. i same as b. EXAMPLES
To see the contents of an archive ar86 tv libfile.a To add some files to an archive ar86 r libfile.a file1.o file2.o to add some files after a member named mem.o and to update the symbol table ar86 rsa mem.o libfile.a file1.o file2.o BUGS
A l modifier will be accepted but ignored. RESTRICTIONS
This command is intended for use only with object files created using the Dev86/ELKS toolchain. SEE ALSO
as86(1), bcc(1), ld86(1) AUTHORS
(C) 1988, 1990 Free Software Foundation Inc. Changes for ar86 by Greg Haerr <greg@censoft.com>. COPYRIGHT
The manual page was written for Debian GNU/Linux, (C) 2006 Shyamal Prasad <shyamal@member.fsf.org>. It is distributed under the terms of the GNU General Public License version 2 (or any later version released by the Free Software Foundation). May, 2006 ar86(1)
All times are GMT -4. The time now is 02:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy