Python Forum
Moving directories by filetype
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving directories by filetype
#4
An addendum to my last post .

I tried the revised script out with a couple of dozen etext dirs (modified the target extensions):
All worked well EXCEPT the one labelled something like
Contemporary Foo Texts - Collection 355 (Bar, Baz 43) # which contained about 30 etexts

All the etexts appeared in
root \ zBooks
BUT - the sirectory name itself disappeared.

However - If the directory was renamed literally 'foo' , containing all the original 30 texts:
it was moved perfectly to
root \ zBooks \ foo \ (30 etexts inside)

Could there be issues with the string structure?
Non alpha chars?
Reply


Messages In This Thread
Moving directories by filetype - by millpond - Feb-08-2022, 06:50 AM
RE: Moving directories by filetype - by Gribouillis - Feb-08-2022, 08:53 AM
RE: Moving directories by filetype - by millpond - Feb-08-2022, 06:31 PM
RE: Moving directories by filetype - by millpond - Feb-08-2022, 07:09 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020