06-02-2009
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
GIT-MV(1) Git Manual GIT-MV(1)
NAME
git-mv - Move or rename a file, a directory, or a symlink
SYNOPSIS
git mv <options>... <args>...
DESCRIPTION
Move or rename a file, directory or symlink.
git mv [-v] [-f] [-n] [-k] <source> <destination>
git mv [-v] [-f] [-n] [-k] <source> ... <destination directory>
In the first form, it renames <source>, which must exist and be either a file, symlink or directory, to <destination>. In the second form,
the last argument has to be an existing directory; the given sources will be moved into this directory.
The index is updated after successful completion, but the change must still be committed.
OPTIONS
-f, --force
Force renaming or moving of a file even if the target exists
-k
Skip move or rename actions which would lead to an error condition. An error happens when a source is neither existing nor controlled
by Git, or when it would overwrite an existing file unless -f is given.
-n, --dry-run
Do nothing; only show what would happen
-v, --verbose
Report the names of files as they are moved.
SUBMODULES
Moving a submodule using a gitfile (which means they were cloned with a Git version 1.7.8 or newer) will update the gitfile and
core.worktree setting to make the submodule work in the new location. It also will attempt to update the submodule.<name>.path setting in
the gitmodules(5) file and stage that file (unless -n is used).
GIT
Part of the git(1) suite
Git 1.8.5.3 01/14/2014 GIT-MV(1)