Moving files from parent path to multiple child path using bash in efficient way
Hi All,
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
I don't want to move directory structure. I want to move files from that source path to destination path on daily basis. I would need pointer to write a bash script to make sure aaa.txt would exactly go and sit only from /Path/AdminUser/User1/1111/Reports/ to /Path/User1/1111/Reports/........
One of geek folk helped provided with inputs to start as below, It still threw error, can we also write it in an efficient way?
Last edited by Don Cragun; 05-03-2015 at 08:10 PM..
Reason: Add CODE and ICODE tags.
Hello All.
I am having a directory /tmp/rahul which contains many files in the format
@#home@#rahul@#programs@#script.pl
where /home/rahul/programs is the directory where the script.pl file is to be placed.
I have many files in this format.
What i want is a script which read these... (7 Replies)
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Hi
I have a shell script A which calls another 10 shell scripts which run in background. How do i make the parent script wait for the child scripts complete, or in other words, i must be able to do a grep of parent script to find out if the child scripts are still running.
My Code:
... (5 Replies)
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)
Guys I have a big issue that I need to get fixed ASAP however I can not seem to find a way to do it. We started to use zones with Solaris 10 at work and we moved a zone from a SIT box to a DEV box. Problem is the software we have installed is looking at a /lcl/sit/apps/ path and it needs to look... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
a) Some Unix tools are at $HOME/mytools directory. Make these tools accessible for use from any directory.
b)... (2 Replies)
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
The bash will trim the folder to trim folder. Within each of the folders (there may be more than 1) and the format is always the same, are several .bam and matching .bam.bai files (file structure) and the bashunder that executes and trims the .bam as expected but repeats the.bam.bai extentions... (9 Replies)
Discussion started by: cmccabe
9 Replies
LEARN ABOUT SUSE
bootloader::path
Bootloader::Path(3) User Contributed Perl Documentation Bootloader::Path(3)NAME
Bootloader::Path - abstraction of path constants
PREFACE
This package provides path for configuration files. It is used to enable testing on created chroot. It is used only for internal purpose.
SYNOPSIS
"use Bootloader::Path;"
"$path = Bootloader::Path::Prefix ($path);"
"$path = Bootloader::Path::Logname();"
"$path = Bootloader::Path::Fstab();"
"$path = Bootloader::Path::Sysconfig();"
"$path = Bootloader::Path::Grub_menulst();"
"$path = Bootloader::Path::Grub_devicemap();"
"$path = Bootloader::Path::Grub_grubconf();"
"$path = Bootloader::Path::Grub_grub();"
"$path = Bootloader::Path::Elilo_conf();"
"$path = Bootloader::Path::Elilo_efi();"
"$path = Bootloader::Path::Elilo_elilo();"
"$path = Bootloader::Path::Lilo_lilo();"
"$path = Bootloader::Path::Lilo_conf();"
"$path = Bootloader::Path::Zipl_conf();"
"$path = Bootloader::Path::Zipl_zipl();"
DESCRIPTION
"$path = Bootloader::Path::Prefix ($);"
Add to absolute path prefix. Only internal function. Allways retuns correct value.
"$path = Bootloader::Path::Logname();"
Gets logname path.
"$path = Bootloader::Path::Fstab();"
Gets fstab path.
"$path = Bootloader::Path::Sysconfig();"
Gets path for bootloader sysconfig.
"$path = Bootloader::Path::Grub_menulst();"
Gets path for grub configuration file menu.lst.
"$path = Bootloader::Path::Grub_devicemap();"
Gets path for grub configuration file device.map.
"$path = Bootloader::Path::Grub_grubconf();"
Gets path for grub configuration file grub.conf (this file contains commands for initialize bootloader).
"$path = Bootloader::Path::Grub_grub();"
Gets path for grub binary
"$path = Bootloader::Path::Elilo_conf();"
Gets path of elilo configuration file.
"$path = Bootloader::Path::Elilo_efi();"
Gets path to efi directory.
"$path = Bootloader::Path::Elilo_elilo();"
Gets path to elilo binary.
"$path = Bootloader::Path::Lilo_lilo();"
Gets path to lilo(or powerlilo) binary.
"$path = Bootloader::Path::Lilo_conf();"
Gets path to lilo(or powerlilo) configuration file.
"$path = Bootloader::Path::Zipl_conf();"
Gets path to zipl configuration file.
"$path = Bootloader::Path::Zipl_zipl();"
Gets path to zipl binary.
perl v5.12.1 2010-05-14 Bootloader::Path(3)