Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ubunchu@ubunchu a1command]$ ls -l
- total 12
- drwxr-xr-x 2 ubunchu users 4096 Oct 24 16:15 excerpt
- drwxr-xr-x 6 ubunchu users 4096 Oct 24 16:16 extract_these_files
- drwxr-xr-x 2 ubunchu users 4096 Oct 24 16:35 nevermind_this
- [ubunchu@ubunchu a1command]$ ls -l extract_these_files/
- total 16
- drwxr-xr-x 2 ubunchu users 4096 Oct 24 16:16 folder1
- drwxr-xr-x 2 ubunchu users 4096 Oct 24 16:17 folder2
- drwxr-xr-x 2 ubunchu users 4096 Oct 24 16:18 folder3
- drwxr-xr-x 2 ubunchu users 4096 Oct 24 16:18 folder3.1
- [ubunchu@ubunchu a1command]$ cd
- [ubunchu@ubunchu ~]$ find Terminalling/a1command/extract_these_files/ -type f | xargs -I file basename file | xargs -I file mv file Terminalling/a1command/excerpt/`date +%N`file
- mv: cannot stat ‘thisisalogfile.log’: No such file or directory
- mv: cannot stat ‘thisisalogfile.log’: No such file or directory
- mv: cannot stat ‘thisisalogfile.log.baqup’: No such file or directory
- mv: cannot stat ‘thisisalogfile.log.baqup.july’: No such file or directory
- mv: cannot stat ‘thisisalogfile.log.baqup.july~’: No such file or directory
- mv: cannot stat ‘thisisalogfile.log’: No such file or directory
- [ubunchu@ubunchu ~]$ find $USER Terminalling/a1command/extract_these_files/ -type f | xargs -I file basename file | xargs -I file mv file $USER Terminalling/a1command/excerpt/`date +%N`file
- find: `ubunchu': No such file or directory
- mv: target ‘Terminalling/a1command/excerpt/590456619thisisalogfile.log’ is not a directory
- mv: target ‘Terminalling/a1command/excerpt/590456619thisisalogfile.log’ is not a directory
- mv: target ‘Terminalling/a1command/excerpt/590456619thisisalogfile.log.baqup’ is not a directory
- mv: target ‘Terminalling/a1command/excerpt/590456619thisisalogfile.log.baqup.july’ is not a directory
- mv: target ‘Terminalling/a1command/excerpt/590456619thisisalogfile.log.baqup.july~’ is not a directory
- mv: target ‘Terminalling/a1command/excerpt/590456619thisisalogfile.log’ is not a directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement