Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Move multipe files to corresponding directories Post 302966602 by spirospap on Sunday 14th of February 2016 08:17:55 AM
Old 02-14-2016
Works perfectly

Thanks!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

grep'ing for specific directories, and using the output to move files

Hello, this is probably another really simple tasks for most of you gurus, however I am trying to make a script which takes an input, greps a specific file for that input, prints back to screen the results (which are directory names) and then be able to use the directory names to move files.... (1 Reply)
Discussion started by: JayC89
1 Replies

2. UNIX for Dummies Questions & Answers

want to move files in a dir into different directories based on the filename

I want to move the files in a dir to different dirs based on their file names. Ex: i have 4 different files with name - CTS_NONE_10476031_MRL_PFT20081215a.txt CTS_NONE_10633009_MRL_PFT20091020a.txt CTS_NONE_10345673_MRL_PFT20081215a.txt CTS_NONE_10872456_MRL_PFT20091020a.txt and the 1st... (2 Replies)
Discussion started by: Sriranga
2 Replies

3. Shell Programming and Scripting

want to move files in a dir into different directories based on the filename

I want to move the files in a dir to different dirs based on their file names. Ex: i have 4 different files with name - CTS_NONE_10476031_MRL_PFT20081215a.txt CTS_NONE_10633009_MRL_PFT20091020a.txt CTS_NONE_10345673_MRL_PFT20081215a.txt CTS_NONE_10872456_MRL_PFT20091020a.txt and the 1st... (4 Replies)
Discussion started by: Sriranga
4 Replies

4. Shell Programming and Scripting

Help with command to Move files by X number to seperate directories

Hello, I need help finding a script that will allow me to move files from one directory to another directory 10k files at a time. I have a directory that has 100 K files in it. I need to have those 100k files broken apart to separate directories each with 10k files in them. Here is the... (8 Replies)
Discussion started by: Geo_Bean
8 Replies

5. Shell Programming and Scripting

Loop to move files in different directories

Hi, I have various log files in different paths. e.g. a/b/c/d/e/server.log a/b/c/d/f/server.log a/b/c/d/g/server.log a/b/c/h/e/server.log a/b/c/h/f/server.log a/b/c/h/g/server.log a/b/c/i/e/server.log a/b/c/i/e/server.log a/b/c/i/e/server.log and above these have an archive folder... (6 Replies)
Discussion started by: acc01
6 Replies

6. UNIX for Dummies Questions & Answers

Reading only first record from the multipe directories

Hi All, I have a requirement, I had a parent directory Land under that we have sub directories Yesterday, Today and Tommorrow And we have a file test.txt under the above directories Yesterday, Today and Tommorrow The data in the file test.txt under Yesterday folder is ... (5 Replies)
Discussion started by: somu_june
5 Replies

7. OS X (Apple)

Batch file to move video files and retain sub-directories

I have just purchased my first ever Apple computer - and am therefore new to UNIX also. I would like to create a simple "batch file" (apologies if this is the wrong terminology) to do the following: When I plug my camera into the MAC it automatically downloads photos and videos into a new... (1 Reply)
Discussion started by: mm0mss
1 Replies

8. Shell Programming and Scripting

Recursively move directories along with files/specific files

I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find ) The directory structure looks like :- /tmp a.log b.log c.log /abcd d.log e.log When I tried the following command , it movies all the log files... (8 Replies)
Discussion started by: frintocf
8 Replies

9. Shell Programming and Scripting

Need BASH Script Help to Move Files While Creating Directories

I've got this script to loop through all folders and move files that are more than 2 years old. I'm using the install command because it creates the necessary directories on the destination path and then I remove the source. I'd like to change the script to use the mv command since it is much... (4 Replies)
Discussion started by: consultant
4 Replies

10. UNIX for Beginners Questions & Answers

Move several files into specific directories with a loop

Hello, I'm a first time poster looking for help in scripting a task in my daily routine. I am new in unix but i am attracted to its use as a mac user. Bear with me... I have several files (20) that I manually drag via the mouse into several named directories over a network. I've used rsync... (14 Replies)
Discussion started by: SonnyClark
14 Replies
Config::Model::models::LCDd::picolcd(3pm)		User Contributed Perl Documentation		 Config::Model::models::LCDd::picolcd(3pm)

NAME
Config::Model::models::LCDd::picolcd - Configuration class LCDd::picolcd VERSION
version 2.021 DESCRIPTION
Configuration classes used by Config::Model generated from LCDd.conf Elements KeyTimeout KeyTimeout is the time in ms that LCDd spends waiting for a key press before cycling through other duties. Higher values make LCDd use less CPU time and make key presses more detectable. Lower values make LCDd more responsive but a little prone to missing key presses. 500 (.5 second) is the default and a balanced value. Optional. Type integer. upstream_default: '500'. Backlight Sets the initial state of the backlight upon start-up.Optional. Type enum. choice: 'on', 'off'. upstream_default: 'on'. Brightness Set the initial brightness . Works only with the 20x4 device. Optional. Type integer. upstream_default: '1000'. OffBrightness Set the brightness while the backlight is 'off' . Works only with the 20x4 device.Optional. Type integer. upstream_default: '0'. Contrast Set the initial contrast Optional. Type integer. upstream_default: '1000'. Keylights Light the keys? Optional. Type enum. choice: 'on', 'off'. upstream_default: 'on'. Key0Light If Keylights is on, the you can unlight specific keys below: Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. There is no LED for the +/- keys. This is a handy way to indicate to users which keys are disabled. Optional. Type enum. choice: 'on', 'off'. upstream_default: 'on'. Key1Light Optional. Type uniline. default: 'on'. Key2Light Optional. Type uniline. default: 'on'. Key3Light Optional. Type uniline. default: 'on'. Key4Light Optional. Type uniline. default: 'on'. Key5Light Optional. Type uniline. default: 'on'. LircHost Host name or IP address of the LIRC instance that is to receive IR codes If not set, or set to an empty value, IR support is disabled.Optional. Type uniline. default: '127.0.0.1'. LircPort UDP port on which LIRC is listening Optional. Type integer. upstream_default: '8765'. LircFlushThreshold Threshold in jiffies of synthesized gap that triggers flushing the IR data to lirc 100 means 6.1ms. legal: 16 - 32767; Use 0 to disable.Optional. Type integer. upstream_default: '100'. SEE ALSO
o cme perl v5.14.2 2012-11-09 Config::Model::models::LCDd::picolcd(3pm)
All times are GMT -4. The time now is 09:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy