Đang Thực Hiện

Write python or bash script to organize files

I need a script to move files from one directory to the right subdirectory under another directory.

There are files in directory Alpha. Under directory Beta, there are many subdirectories with names.

I need a script, either python or bash, to evaluate each file from directory Alpha and find the subdirectory in Beta that contains a match of one of the words in the name of the file. When it finds a match, move the file to that directory. If there is no match, leave the file in Alpha.

For example:

Alpha

2016-01-23 Gonzalez [url removed, login to view]

2015-02-22 Smith [url removed, login to view]

2016-05-05 Ahmed [url removed, login to view]

- Beta

-- 15-02 John Smith

-- 16-04 Jose Gonzalez

The script will run, see that Gonzalez matches a subdirectory, and move it there, so:

Alpha

2016-05-05 Ahmed [url removed, login to view]

- Beta

-- 15-02 John Smith

--- 2015-02-22 Smith [url removed, login to view]

-- 16-04 Jose Gonzalez

--- 2016-01-23 Gonzalez [url removed, login to view]

Kỹ năng: Linux, Python, Shell Script, Kiến trúc phần mềm

Xem thêm: write an article suggesting ways for teenagers to spend the summer holiday without being bored, how to write a letter when seeking for job, write an article 250300 words for the awesome race 2015 website explaining why the icon in cusco received world heritage status, write some articles 750 words for 2, write some articles -750 words for $2, osx rename files script bash, bash python script convert, python write pdf files google cloud standard library, script replace text files subdirectories bash, python write array file script, python working files script, write html mail script bash multi mime, rpg maker animated save files script, create bulk text files script, ajax upload big files script, restart script bash, list files script, backup script bash email, cgi script bash perl, directory listing files script

Mã Dự Án: #13466351

Đã trao cho:

ArleMedina

What language would you use? Python or bash commands Proposal: Project Description I need a script to move files from one directory to the right subdirectory under another directory. There are files in directory A Thêm

$25 USD trong 1 ngày
(41 Đánh Giá)
4.9

17 freelancer đang chào giá trung bình $22 cho công việc này

prabakarm23

What language would you use? I will use PYTHON Proposal: I have 7 years of experience in .NET, VBA Macros, VB script,PS Script and VB creation with application like SAP, Internet explorer, Microsoft Outlook,PDF& T Thêm

$35 USD trong 2 ngày
(17 Đánh Giá)
4.3
$25 USD trong 1 ngày
(8 Đánh Giá)
3.5
kstephens6054

What language would you use? Python 2 or Python 3, whichever you prefer. Proposal: Sounds like a simple script. I can have this ready for you within the next hour or two.

$25 USD trong 1 ngày
(4 Đánh Giá)
3.1
martinrisa1

What language would you use? Python Proposal: Hi, I am professional freelancer and student of theoretic informatics, I have several experience with bash scripting. I would like to use Python in this project since it i Thêm

$29 USD trong 0 ngày
(5 Đánh Giá)
3.0
kahilH

What language would you use? Java Iam a java developer highly skilled in data processing i think java is a good choice cause it could be run on any OS Proposal: so like i told you i can do it on java a console sc Thêm

$25 USD trong 1 ngày
(4 Đánh Giá)
2.8
lufenk

What language would you use? I will use PYTHON Proposal: I WILL USE PYTHON. Hello Sir Greetings from India I understand the requirement. Lets chat and discuss more. Thank You

$30 USD trong 1 ngày
(3 Đánh Giá)
2.5
SBITServices

What language would you use? I will use VBA. I have 4 years experience in VBA programming. Proposal: Hello BYNUMLAW, I have read your project description clearly and understood your requirement. I agree that can comp Thêm

$19 USD trong 1 ngày
(3 Đánh Giá)
2.5
vk113

What language would you use? I will use Python and its standard modules. Also I will create exe file for you if you need it. I will do the job fast and perfectly. I will be waiting for your reply. Proposal: I have Thêm

$25 USD trong 1 ngày
(0 Đánh Giá)
0.0
pkieszcz

What language would you use? I'm gonna use bash if it's gonna be easy. if not i'm gonna use python dics. Proposal: Since i'm an IT proffesional you are gonna be happy to work with me.

$25 USD trong 2 ngày
(0 Đánh Giá)
0.0
$17 USD trong 1 ngày
(0 Đánh Giá)
0.0
TR49

What language would you use? Python Proposal: I’d like to be considered for your "Write python or bash script to organize files" project. I am ready to work on your project right now. I am expert in our services w Thêm

$25 USD trong 0 ngày
(0 Đánh Giá)
0.0
detorr

A proposal has not yet been provided

$10 USD trong 1 ngày
(0 Đánh Giá)
0.0
marcomaggipinto

What language would you use? Python Proposal: I've already done the script, contact me if you need it

$25 USD trong 1 ngày
(0 Đánh Giá)
0.0
giacotesting

What language would you use? I prefer Python but even Bash would work. Proposal: You can have it tomorow evening. Just contact me. I will make it as fast as posible.

$10 USD trong 1 ngày
(0 Đánh Giá)
0.0
souvbrz

What language would you use? Bash Proposal: I would use bash scripting, as I believe - it is the best scripting language for handling files.

$15 USD trong 3 ngày
(0 Đánh Giá)
0.0
ritendrabansal00

i have written very similar kind of script, recently in my project. i have an ideal now how to write that kind of script which works very fast like apply pattern matching algorithm to optimize the code.

$20 USD trong 3 ngày
(0 Đánh Giá)
0.0
$20 USD trong 2 ngày
(0 Đánh Giá)
0.0